diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-27 19:44:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-27 19:44:13 +0300 |
commit | b27338573f455ac730e6bcca9d46b50391ddf7b3 (patch) | |
tree | 3c82892185ea6d226bac8ea60f534cae02137bbe /src/net/eathena/cashshophandler.cpp | |
parent | 03d1705dfafccdcd5ed613a2cca699e80978f747 (diff) | |
download | manaverse-b27338573f455ac730e6bcca9d46b50391ddf7b3.tar.gz manaverse-b27338573f455ac730e6bcca9d46b50391ddf7b3.tar.bz2 manaverse-b27338573f455ac730e6bcca9d46b50391ddf7b3.tar.xz manaverse-b27338573f455ac730e6bcca9d46b50391ddf7b3.zip |
Fix code style.
Diffstat (limited to 'src/net/eathena/cashshophandler.cpp')
-rw-r--r-- | src/net/eathena/cashshophandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp index 1953fafb6..bbb979b32 100644 --- a/src/net/eathena/cashshophandler.cpp +++ b/src/net/eathena/cashshophandler.cpp @@ -56,7 +56,7 @@ void CashShopHandler::buyItem(const int points, if (packetVersion < 20101124) return; createOutPacket(CMSG_NPC_CASH_SHOP_BUY); - outMsg.writeInt16(10 + (2 + itemIdLen), "len"); + outMsg.writeInt16(CAST_S16(10 + (2 + itemIdLen)), "len"); outMsg.writeInt32(points, "points"); outMsg.writeInt16(1, "count"); outMsg.writeInt16(CAST_S16(amount), "amount"); |