From 1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Aug 2016 02:55:51 +0300 Subject: Allow buy more than one item at vending shop at once. --- src/net/tmwa/vendinghandler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/tmwa/vendinghandler.h') diff --git a/src/net/tmwa/vendinghandler.h b/src/net/tmwa/vendinghandler.h index 47a99c7b4..d8023fb1c 100644 --- a/src/net/tmwa/vendinghandler.h +++ b/src/net/tmwa/vendinghandler.h @@ -41,6 +41,10 @@ class VendingHandler final : public Net::VendingHandler const int index, const int amount) const override final A_CONST; + void buyItems(const Being *const being, + const std::vector &items) const + override final A_CONST; + void buy2(const Being *const being, const int vendId, const int index, -- cgit v1.2.3-70-g09d2