From e85269ffe1fe91f5cf44ccfec01252343643ef1d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 24 Feb 2009 20:44:21 -0700 Subject: 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. --- src/npc.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/npc.cpp') 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() -- cgit v1.2.3-60-g2f50