summaryrefslogtreecommitdiff
path: root/src/net/eathena/cashshophandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-24 19:28:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-24 19:28:46 +0300
commit8764d8fed61e7f0148ede9a6a836b402145578aa (patch)
treed19a68662f801fcabd378f4b966b048778878e5c /src/net/eathena/cashshophandler.cpp
parent81020303571b9421b3ef1c8d2ec5f5d36599540d (diff)
downloadplus-8764d8fed61e7f0148ede9a6a836b402145578aa.tar.gz
plus-8764d8fed61e7f0148ede9a6a836b402145578aa.tar.bz2
plus-8764d8fed61e7f0148ede9a6a836b402145578aa.tar.xz
plus-8764d8fed61e7f0148ede9a6a836b402145578aa.zip
eathena: add support for buy from cash shop.
Diffstat (limited to 'src/net/eathena/cashshophandler.cpp')
-rw-r--r--src/net/eathena/cashshophandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp
index 63cd03a04..b04eec445 100644
--- a/src/net/eathena/cashshophandler.cpp
+++ b/src/net/eathena/cashshophandler.cpp
@@ -96,10 +96,10 @@ void CashShopHandler::processCashShopBuyAck(Net::MessageIn &msg)
msg.readInt16("error");
}
-void CashShopHandler::buy(const int points,
- const int itemId,
- const unsigned char color A_UNUSED,
- const int amount) const
+void CashShopHandler::buyItem(const int points,
+ const int itemId,
+ const unsigned char color A_UNUSED,
+ const int amount) const
{
createOutPacket(CMSG_NPC_CASH_SHOP_BUY);
outMsg.writeInt16(10 + 4, "len");