diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-16 21:18:11 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-16 21:18:11 +0000 |
commit | d3175115354bb2417f01877a96d0068e2f2c875d (patch) | |
tree | 3fe6dde2b7922eb12bc376687ae18a59971d908e /src/gui/status.cpp | |
parent | 43a80fa64acb7f02cf5305b4a3d2ef6040b4b8c9 (diff) | |
download | mana-client-d3175115354bb2417f01877a96d0068e2f2c875d.tar.gz mana-client-d3175115354bb2417f01877a96d0068e2f2c875d.tar.bz2 mana-client-d3175115354bb2417f01877a96d0068e2f2c875d.tar.xz mana-client-d3175115354bb2417f01877a96d0068e2f2c875d.zip |
Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r-- | src/gui/status.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp index f5302e95..0c20b6fc 100644 --- a/src/gui/status.cpp +++ b/src/gui/status.cpp @@ -454,32 +454,32 @@ void StatusWindow::action(const std::string& eventId) if (eventId.length() == 3) { MessageOut outMsg; - outMsg.writeShort(CMSG_STAT_UPDATE_REQUEST); + outMsg.writeInt16(CMSG_STAT_UPDATE_REQUEST); if (eventId == "STR") { - outMsg.writeShort(0x000d); + outMsg.writeInt16(0x000d); } if (eventId == "AGI") { - outMsg.writeShort(0x000e); + outMsg.writeInt16(0x000e); } if (eventId == "VIT") { - outMsg.writeShort(0x000f); + outMsg.writeInt16(0x000f); } if (eventId == "INT") { - outMsg.writeShort(0x0010); + outMsg.writeInt16(0x0010); } if (eventId == "DEX") { - outMsg.writeShort(0x0011); + outMsg.writeInt16(0x0011); } if (eventId == "LUK") { - outMsg.writeShort(0x0012); + outMsg.writeInt16(0x0012); } - outMsg.writeByte(1); + outMsg.writeInt8(1); } } |