summaryrefslogtreecommitdiff
path: root/src/gui/npc_text.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-25 13:50:47 -0700
committerJared Adams <jaxad0127@gmail.com>2009-02-25 13:50:47 -0700
commit3ad6ac47d4967870a54fddd66aa9996724115b94 (patch)
tree6f0a5931a193e2942a0988964f9324f715f303db /src/gui/npc_text.cpp
parentf04a8713ffc83db8b3dc4a472b28aad25a2b2bd1 (diff)
downloadmana-3ad6ac47d4967870a54fddd66aa9996724115b94.tar.gz
mana-3ad6ac47d4967870a54fddd66aa9996724115b94.tar.bz2
mana-3ad6ac47d4967870a54fddd66aa9996724115b94.tar.xz
mana-3ad6ac47d4967870a54fddd66aa9996724115b94.zip
Prevent duplicate NPC talking when using keyboard
Based on commit a1e483913672e55704e8fbafeff5ea0ccc0c9b07 from Aethyra.
Diffstat (limited to 'src/gui/npc_text.cpp')
-rw-r--r--src/gui/npc_text.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp
index db0015e9..520efad4 100644
--- a/src/gui/npc_text.cpp
+++ b/src/gui/npc_text.cpp
@@ -108,6 +108,7 @@ void NpcTextDialog::action(const gcn::ActionEvent &event)
if (current_npc) nextDialog();
setVisible(false);
current_npc = 0;
+ NPC::isTalking = false;
} else return;
}
else return;