From 1fcd75140b847a0e50584fc07fc47d90c9dd9fa8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Jul 2011 20:42:40 +0300 Subject: Add small optimisations and fixes. --- src/net/inventoryhandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/inventoryhandler.h') diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index e34eb5e55..06c73d288 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -45,7 +45,7 @@ class InventoryHandler virtual void dropItem(const Item *item, int amount) = 0; - virtual bool canSplit(const Item *item) = 0; + virtual bool canSplit(const Item *item) const = 0; virtual void splitItem(const Item *item, int amount) = 0; @@ -63,7 +63,7 @@ class InventoryHandler // TODO: fix/remove me virtual size_t getSize(int type) const = 0; - virtual int convertFromServerSlot(int eAthenaSlot) = 0; + virtual int convertFromServerSlot(int eAthenaSlot) const = 0; // virtual ~InventoryHandler() {} }; -- cgit v1.2.3-70-g09d2