summaryrefslogtreecommitdiffstats
path: root/src/Entities/ItemFrame.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/ItemFrame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ItemFrame.h b/src/Entities/ItemFrame.h
index 2444b26a3..ff43e5ee1 100644
--- a/src/Entities/ItemFrame.h
+++ b/src/Entities/ItemFrame.h
@@ -24,7 +24,7 @@ public:
// tolua_begin
/** Returns the item in the frame */
- const cItem & GetItem(void) { return m_Item; }
+ const cItem & GetItem(void) const { return m_Item; }
/** Set the item in the frame */
void SetItem(cItem & a_Item) { m_Item = a_Item; }