summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-23 01:46:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-23 01:46:26 +0300
commitee42b631f296c9e77d4257b0f84b81f990377728 (patch)
treeccc1d65da1e39f896e1d25dda4ad851d2a57b746 /src/net/tmwa
parent9be90b76adb1518c4ffe0e365a18c5afcc3158f2 (diff)
downloadplus-ee42b631f296c9e77d4257b0f84b81f990377728.tar.gz
plus-ee42b631f296c9e77d4257b0f84b81f990377728.tar.bz2
plus-ee42b631f296c9e77d4257b0f84b81f990377728.tar.xz
plus-ee42b631f296c9e77d4257b0f84b81f990377728.zip
Allow buy in market with amount > 1 for non stackable items.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/markethandler.cpp1
-rw-r--r--src/net/tmwa/markethandler.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/markethandler.cpp b/src/net/tmwa/markethandler.cpp
index 4ac91a5a8..6a1a0b18d 100644
--- a/src/net/tmwa/markethandler.cpp
+++ b/src/net/tmwa/markethandler.cpp
@@ -52,6 +52,7 @@ void MarketHandler::close()
}
void MarketHandler::buyItem(const int itemId A_UNUSED,
+ const int type A_UNUSED,
const unsigned char color A_UNUSED,
const int amount A_UNUSED) const
{
diff --git a/src/net/tmwa/markethandler.h b/src/net/tmwa/markethandler.h
index b9d1a013e..519884c1f 100644
--- a/src/net/tmwa/markethandler.h
+++ b/src/net/tmwa/markethandler.h
@@ -40,6 +40,7 @@ class MarketHandler final : public MessageHandler,
void close() override final;
void buyItem(const int itemId,
+ const int type,
const unsigned char color,
const int amount) const override final;