summaryrefslogtreecommitdiff
path: root/src/npc.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-11-21 16:30:11 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-11-21 16:30:11 +0000
commita5e6a44b51d4269ed6812c9a9e0b6a293d959a4d (patch)
treef269a803b58b47082156dc74bb0d6e8e2dc6519e /src/npc.cpp
parent1f6975d34e2c6fe8404fcbe13da406e624d94b68 (diff)
downloadMana-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.gz
Mana-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.bz2
Mana-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.xz
Mana-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.cpp8
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);
*/
}