From cdd2dd27b61e36a376dc32947fd9e29f0a492d9b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 Jan 2017 18:14:44 +0300 Subject: Allow buy multiply items at once from cash shops. --- src/net/tmwa/cashshophandler.cpp | 3 ++- src/net/tmwa/cashshophandler.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') 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 &items A_UNUSED) +void CashShopHandler::buyItems(const int points A_UNUSED, + const std::vector &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 &items) const override final + void buyItems(const int points, + const std::vector &items) const override final A_CONST; void close() const override final A_CONST; -- cgit v1.2.3-70-g09d2