summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/item.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item.h b/src/item.h
index 6e37c259..89b8e59e 100644
--- a/src/item.h
+++ b/src/item.h
@@ -56,12 +56,12 @@ class Item
/**
* Returns the item image.
*/
- Image *getImage() { return mImage; }
+ Image *getImage() const { return mImage; }
/**
* Returns the item image.
*/
- Image *getDrawImage() { return mDrawImage; }
+ Image *getDrawImage() const { return mDrawImage; }
/**
* Sets the number of items.