summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-31 18:14:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-31 18:14:44 +0300
commitcdd2dd27b61e36a376dc32947fd9e29f0a492d9b (patch)
tree88ec4ac6acbc090600c52bddddd978a15e0d0312 /src/net/tmwa
parentc0255f61476a509780d316801a6a3d54c2f362ec (diff)
downloadplus-cdd2dd27b61e36a376dc32947fd9e29f0a492d9b.tar.gz
plus-cdd2dd27b61e36a376dc32947fd9e29f0a492d9b.tar.bz2
plus-cdd2dd27b61e36a376dc32947fd9e29f0a492d9b.tar.xz
plus-cdd2dd27b61e36a376dc32947fd9e29f0a492d9b.zip
Allow buy multiply items at once from cash shops.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/cashshophandler.cpp3
-rw-r--r--src/net/tmwa/cashshophandler.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tmwa/cashshophandler.cpp b/src/net/tmwa/cashshophandler.cpp
index d8263033e..8379de3ab 100644
--- a/src/net/tmwa/cashshophandler.cpp
+++ b/src/net/tmwa/cashshophandler.cpp
@@ -40,7 +40,8 @@ void CashShopHandler::buyItem(const int points A_UNUSED,
{
}
-void CashShopHandler::buyItems(const std::vector<ShopItem*> &items A_UNUSED)
+void CashShopHandler::buyItems(const int points A_UNUSED,
+ const std::vector<ShopItem*> &items A_UNUSED)
const
{
}
diff --git a/src/net/tmwa/cashshophandler.h b/src/net/tmwa/cashshophandler.h
index 8100d6e50..6b43cdce6 100644
--- a/src/net/tmwa/cashshophandler.h
+++ b/src/net/tmwa/cashshophandler.h
@@ -38,7 +38,8 @@ class CashShopHandler final : public Net::CashShopHandler
const ItemColor color,
const int amount) const override final A_CONST;
- void buyItems(const std::vector<ShopItem*> &items) const override final
+ void buyItems(const int points,
+ const std::vector<ShopItem*> &items) const override final
A_CONST;
void close() const override final A_CONST;