diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-24 20:44:21 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-24 20:44:21 -0700 |
commit | a41c61706b29b0fadf1271946a76c3b3b51239f0 (patch) | |
tree | 0b8235f3b20ea2891bf46a7d20f269aa7703e1a4 | |
parent | 221c682c11a203e33ab77b471213b5d05c40522d (diff) | |
download | mana-a41c61706b29b0fadf1271946a76c3b3b51239f0.tar.gz mana-a41c61706b29b0fadf1271946a76c3b3b51239f0.tar.bz2 mana-a41c61706b29b0fadf1271946a76c3b3b51239f0.tar.xz mana-a41c61706b29b0fadf1271946a76c3b3b51239f0.zip |
Don't set current_npc when initiating interraction
Let it be set by the netcode if the NPC responds. This caused a movement
bug if they didn't.
-rw-r--r-- | src/npc.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index 246fb205..dff1e299 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -112,7 +112,6 @@ void NPC::talk() outMsg.writeInt16(CMSG_NPC_TALK); outMsg.writeInt32(mId); outMsg.writeInt8(0); - current_npc = this; } void NPC::nextDialog() |