From 175027e204d936b2c775fe587e7d3f14e71e1233 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Jan 2011 01:39:58 +0200 Subject: Add unification for inventory/storage/cart name. --- src/inventory.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index c09492e22..c40a9bd5b 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -50,6 +50,7 @@ class Inventory { INVENTORY = 0, STORAGE, + CART, TRADE, TYPE_END }; @@ -145,6 +146,8 @@ class Inventory Item *findItemBySprite(std::string spritePath, Gender gender); + std::string getName(); + protected: typedef std::list InventoryListenerList; InventoryListenerList mInventoryListeners; -- cgit v1.2.3-60-g2f50