From ada1a2756824d80ee004d1c1dcbcaba3ce34d2af Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Feb 2015 18:09:18 +0300 Subject: eathena: impliment selling item to buying store. --- src/net/tmwa/buyingstorehandler.cpp | 3 +-- src/net/tmwa/buyingstorehandler.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/buyingstorehandler.cpp b/src/net/tmwa/buyingstorehandler.cpp index b2385eacb..245775c24 100644 --- a/src/net/tmwa/buyingstorehandler.cpp +++ b/src/net/tmwa/buyingstorehandler.cpp @@ -59,8 +59,7 @@ void BuyingStoreHandler::open(const Being *const being A_UNUSED) const void BuyingStoreHandler::sell(const Being *const being A_UNUSED, const int storeId A_UNUSED, - const int index A_UNUSED, - const int itemId A_UNUSED, + const Item *const item A_UNUSED, const int amount A_UNUSED) const { } diff --git a/src/net/tmwa/buyingstorehandler.h b/src/net/tmwa/buyingstorehandler.h index 2eb965783..b98325acc 100644 --- a/src/net/tmwa/buyingstorehandler.h +++ b/src/net/tmwa/buyingstorehandler.h @@ -49,8 +49,7 @@ class BuyingStoreHandler final : public MessageHandler, void sell(const Being *const being, const int storeId, - const int index, - const int itemId, + const Item *const item, const int amount) const override final; }; -- cgit v1.2.3-70-g09d2