From d20744c0ff83572dc209389df900826b7d088546 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 23 Nov 2014 16:45:46 +0300 Subject: Add support for additional slots in net code. Now projectile slot depend on server. --- src/net/tmwa/inventoryhandler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/tmwa/inventoryhandler.h') diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h index 84f6dd974..d8caf7a84 100644 --- a/src/net/tmwa/inventoryhandler.h +++ b/src/net/tmwa/inventoryhandler.h @@ -71,6 +71,9 @@ class InventoryHandler final : public MessageHandler, int convertFromServerSlot(const int serverSlot) const override final A_WARN_UNUSED; + int getProjectileSlot() const override final + { return 10; } + protected: static void processPlayerEquipment(Net::MessageIn &msg); -- cgit v1.2.3-70-g09d2