summaryrefslogtreecommitdiff
path: root/src/net/npchandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/npchandler.cpp')
-rw-r--r--src/net/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/npchandler.cpp b/src/net/npchandler.cpp
index 5ae2ac2e..ae521bd5 100644
--- a/src/net/npchandler.cpp
+++ b/src/net/npchandler.cpp
@@ -94,7 +94,7 @@ void NPCHandler::handleMessage(MessageIn *msg)
// If we're talking to that NPC, show the next button
if (temporaryNPC == current_npc)
npcTextDialog->showNextButton();
- else
+ else if (temporaryNPC)
// Otherwise, move on as an empty dialog doesn't help
temporaryNPC->nextDialog();
break;