From 5e8e53f6e795a84ab5ca6cfe0d08672878044707 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Nov 2015 22:17:15 +0300 Subject: Convert InventoryType enum into strong typed. --- src/net/ea/inventoryhandler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net/ea/inventoryhandler.h') diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 313485dd4..5c6f4258e 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -56,7 +56,8 @@ class InventoryHandler notfinal : public Net::InventoryHandler void openStorage(const int type) const override final; - size_t getSize(const int type) const override final A_WARN_UNUSED; + size_t getSize(const InventoryTypeT type) const override final + A_WARN_UNUSED; void pushPickup(const BeingId floorId); -- cgit v1.2.3-60-g2f50