From 886a5d4803e277b053014ae6b5c1c347f7756d48 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Tue, 25 Nov 2008 18:43:28 +0000 Subject: Miscellaneous TMW change commits. Missed these changes before because of a confusion on git. --- src/inventory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index 87d09567..566ca17c 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -83,7 +83,7 @@ class Inventory /** * Returns id of next free slot or -1 if all occupied. */ - int getFreeSlot(); + int getFreeSlot() const; /** * Reset all item slots. @@ -93,12 +93,12 @@ class Inventory /** * Get the number of slots filled with an item */ - int getNumberOfSlotsUsed(); + int getNumberOfSlotsUsed() const; /** * Returns the index of the last occupied slot or 0 if none occupied. */ - int getLastUsedSlot(); + int getLastUsedSlot() const; protected: Item **mItems; /**< The holder of items */ -- cgit v1.2.3-70-g09d2