summaryrefslogtreecommitdiff
path: root/src/npc.h
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/npc.h
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/npc.h')
-rw-r--r--src/npc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/npc.h b/src/npc.h
index ef9fdc7d..182da3e5 100644
--- a/src/npc.h
+++ b/src/npc.h
@@ -42,6 +42,8 @@ class NPC : public Player
virtual Type getType() const;
void talk();
+
+ static bool isTalking;
protected:
Network *mNetwork;
void updateCoords();