summaryrefslogtreecommitdiff
path: root/src/net/eathena/cashshoprecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-05-14 03:24:19 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-14 03:24:19 +0300
commit818fc592879d1d12c6ff937fa056da4482b3c8bf (patch)
tree3cd6f05d29e53780404357c6b686256bae5ef469 /src/net/eathena/cashshoprecv.cpp
parentadd7eb292abf669e00d08095128171e0e8f23d72 (diff)
downloadmv-818fc592879d1d12c6ff937fa056da4482b3c8bf.tar.gz
mv-818fc592879d1d12c6ff937fa056da4482b3c8bf.tar.bz2
mv-818fc592879d1d12c6ff937fa056da4482b3c8bf.tar.xz
mv-818fc592879d1d12c6ff937fa056da4482b3c8bf.zip
Update packet SMSG_NPC_CASH_BUY
Diffstat (limited to 'src/net/eathena/cashshoprecv.cpp')
-rw-r--r--src/net/eathena/cashshoprecv.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/eathena/cashshoprecv.cpp b/src/net/eathena/cashshoprecv.cpp
index 54679ac54..fef8c5906 100644
--- a/src/net/eathena/cashshoprecv.cpp
+++ b/src/net/eathena/cashshoprecv.cpp
@@ -102,8 +102,7 @@ void CashShopRecv::processCashShopOpen(Net::MessageIn &msg)
void CashShopRecv::processCashShopBuyAck(Net::MessageIn &msg)
{
msg.readInt32("cash points");
- if (packetVersion >= 20070711)
- msg.readInt32("kafra points");
+ msg.readInt32("kafra points");
const uint16_t res = msg.readInt16("error");
switch (res)
{