summaryrefslogtreecommitdiff
path: root/src/gui/npc_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npc_text.cpp')
-rw-r--r--src/gui/npc_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp
index e6f039a0..48f2adb7 100644
--- a/src/gui/npc_text.cpp
+++ b/src/gui/npc_text.cpp
@@ -95,7 +95,7 @@ void NpcTextDialog::action(const gcn::ActionEvent &event)
current_npc->nextDialog();
addText("\n> Next\n");
} else if (mState == NPC_TEXT_STATE_CLOSE ||
- mState == NPC_TEXT_STATE_NEXT && !current_npc) {
+ (mState == NPC_TEXT_STATE_NEXT && !current_npc)) {
setText("");
setVisible(false);
if (current_npc) current_npc->handleDeath();