diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-24 20:44:21 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-24 21:04:32 -0700 |
commit | e85269ffe1fe91f5cf44ccfec01252343643ef1d (patch) | |
tree | 5102151ce7e6c550979a1a272bf87d64257d77c7 /src/npc.cpp | |
parent | 95c7c2fb3468a96415736d1f4d1faf28e6c81aa2 (diff) | |
download | mana-e85269ffe1fe91f5cf44ccfec01252343643ef1d.tar.gz mana-e85269ffe1fe91f5cf44ccfec01252343643ef1d.tar.bz2 mana-e85269ffe1fe91f5cf44ccfec01252343643ef1d.tar.xz mana-e85269ffe1fe91f5cf44ccfec01252343643ef1d.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.
Diffstat (limited to 'src/npc.cpp')
-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 5540350a..dbd7a990 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -107,7 +107,6 @@ void NPC::talk() outMsg.writeInt16(CMSG_NPC_TALK); outMsg.writeInt32(mId); outMsg.writeInt8(0); - current_npc = this; } void NPC::nextDialog() |