From d3175115354bb2417f01877a96d0068e2f2c875d Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Sun, 16 Oct 2005 21:18:11 +0000 Subject: Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}. --- src/gui/npc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/npc.cpp') 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; -- cgit v1.2.3-70-g09d2