diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-11-21 16:30:11 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-11-21 16:30:11 +0000 |
commit | a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d (patch) | |
tree | f269a803b58b47082156dc74bb0d6e8e2dc6519e /src/npc.cpp | |
parent | 1f6975d34e2c6fe8404fcbe13da406e624d94b68 (diff) | |
download | mana-client-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.gz mana-client-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.bz2 mana-client-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.xz mana-client-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.zip |
Renamed {read,write}{Byte,Short,Long} to {read,write}{Int8,Int16,Int32}. This
is less confusing in 64-bit context and less conflicting with the 0.0 client.
Diffstat (limited to 'src/npc.cpp')
-rw-r--r-- | src/npc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index 980f1c8b..8e0b00a5 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -85,8 +85,8 @@ NPC::buy() // XXX Convert for new server /* MessageOut outMsg(CMSG_NPC_BUY_SELL_REQUEST); - outMsg.writeLong(mId); - outMsg.writeByte(0); + outMsg.writeInt32(mId); + outMsg.writeInt8(0); */ } @@ -96,7 +96,7 @@ NPC::sell() // XXX Convert for new server /* MessageOut outMsg(CMSG_NPC_BUY_SELL_REQUEST); - outMsg.writeLong(mId); - outMsg.writeByte(1); + outMsg.writeInt32(mId); + outMsg.writeInt8(1); */ } |