summaryrefslogtreecommitdiff
path: root/src/npc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/npc.cpp')
-rw-r--r--src/npc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/npc.cpp b/src/npc.cpp
index b75d74b3..98c3e0eb 100644
--- a/src/npc.cpp
+++ b/src/npc.cpp
@@ -129,8 +129,7 @@ void NPC::talk()
if (!mNetwork)
return;
- MessageOut outMsg(mNetwork);
- outMsg.writeInt16(CMSG_NPC_TALK);
+ MessageOut outMsg(CMSG_NPC_TALK);
outMsg.writeInt32(mId);
outMsg.writeInt8(0);
#endif