diff options
Diffstat (limited to 'src/gui/npc.cpp')
-rw-r--r-- | src/gui/npc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/npc.cpp b/src/gui/npc.cpp index 16641916..68856705 100644 --- a/src/gui/npc.cpp +++ b/src/gui/npc.cpp @@ -129,9 +129,9 @@ NpcListDialog::action(const std::string& eventId) if (choice) { MessageOut outMsg; - outMsg.writeShort(CMSG_NPC_LIST_CHOICE); - outMsg.writeLong(current_npc); - outMsg.writeByte(choice); + outMsg.writeInt16(CMSG_NPC_LIST_CHOICE); + outMsg.writeInt32(current_npc); + outMsg.writeInt8(choice); setVisible(false); reset(); current_npc = 0; |