summaryrefslogtreecommitdiffstats
path: root/source/cInventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cInventory.h')
-rw-r--r--source/cInventory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cInventory.h b/source/cInventory.h
index 7513df969..bb8519828 100644
--- a/source/cInventory.h
+++ b/source/cInventory.h
@@ -47,7 +47,8 @@ public:
cItem* GetSlots() const { return m_Slots; }
cItem* GetFromHotBar( int a_SlotNum ); //tolua_export
- cItem & GetEquippedItem(); //tolua_export
+ cItem & GetEquippedItem(void); //tolua_export
+ const cItem & GetEquippedItem(void) const;
void SetEquippedSlot( int a_SlotNum ); //tolua_export
short GetEquippedSlot() { return m_EquippedSlot; } //tolua_export