diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/npc.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index 658334bc..ecac2509 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -181,9 +181,6 @@ void NPC::handleDeath() if (npcTextDialog->isVisible()) npcTextDialog->showCloseButton(); - else if (current_npc) { - NPC *temp = current_npc; + else current_npc = NULL; - delete temp; - } } |