This commit is contained in:
parent
f950684bc2
commit
d0eee2c28e
1 changed files with 1 additions and 0 deletions
|
@ -1017,6 +1017,7 @@ void CNpc::processEvent( GAME_EVENT evt, CThing *sourceThing )
|
||||||
m_sensorFunc = NPC_SENSOR_NONE;
|
m_sensorFunc = NPC_SENSOR_NONE;
|
||||||
|
|
||||||
removeChild( sourceThing );
|
removeChild( sourceThing );
|
||||||
|
sourceThing->shutdown();
|
||||||
delete sourceThing;
|
delete sourceThing;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue