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;
|
||||
|
||||
removeChild( sourceThing );
|
||||
sourceThing->shutdown();
|
||||
delete sourceThing;
|
||||
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue