From a41c61706b29b0fadf1271946a76c3b3b51239f0 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') 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() -- cgit v1.2.3-70-g09d2