From d0eee2c28e652a8b8e9f72e9fe46de7ac062e87e Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 23 Jan 2001 14:14:17 +0000 Subject: [PATCH] --- source/enemy/npc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/enemy/npc.cpp b/source/enemy/npc.cpp index 3828efa16..279d30307 100644 --- a/source/enemy/npc.cpp +++ b/source/enemy/npc.cpp @@ -1017,6 +1017,7 @@ void CNpc::processEvent( GAME_EVENT evt, CThing *sourceThing ) m_sensorFunc = NPC_SENSOR_NONE; removeChild( sourceThing ); + sourceThing->shutdown(); delete sourceThing; break;