diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-15 18:09:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-15 18:28:12 +0300 |
commit | ada1a2756824d80ee004d1c1dcbcaba3ce34d2af (patch) | |
tree | fb955ddb69bac7b41e07e22a93aeba95df09164d /src/net/tmwa | |
parent | d8da9ebe28dc38fa9c7e5bd859913faa4460a25d (diff) | |
download | manaplus-ada1a2756824d80ee004d1c1dcbcaba3ce34d2af.tar.gz manaplus-ada1a2756824d80ee004d1c1dcbcaba3ce34d2af.tar.bz2 manaplus-ada1a2756824d80ee004d1c1dcbcaba3ce34d2af.tar.xz manaplus-ada1a2756824d80ee004d1c1dcbcaba3ce34d2af.zip |
eathena: impliment selling item to buying store.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/buyingstorehandler.cpp | 3 | ||||
-rw-r--r-- | src/net/tmwa/buyingstorehandler.h | 3 |
2 files changed, 2 insertions, 4 deletions
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; }; |