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/vendinghandler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/vendinghandler.h') diff --git a/src/net/vendinghandler.h b/src/net/vendinghandler.h index dbabbef7a..2e5d2dffe 100644 --- a/src/net/vendinghandler.h +++ b/src/net/vendinghandler.h @@ -46,6 +46,9 @@ class VendingHandler notfinal const int index, const int amount) const = 0; + virtual void buyItems(const Being *const being, + const std::vector &items) const = 0; + virtual void buy2(const Being *const being, const int vendId, const int index, -- cgit v1.2.3-60-g2f50