summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-03-07 19:20:51 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-03-08 22:44:14 +0100
commit1037731516cad66027816d416b188bb9aa097b60 (patch)
tree22a4de4890e2b7e225c29600591bead84b95caf3
parent61a3b51b7e89dc3c545fe9891ac4c05fd09d8315 (diff)
downloadMana-1037731516cad66027816d416b188bb9aa097b60.tar.gz
Mana-1037731516cad66027816d416b188bb9aa097b60.tar.bz2
Mana-1037731516cad66027816d416b188bb9aa097b60.tar.xz
Mana-1037731516cad66027816d416b188bb9aa097b60.zip
Made two getters const
Reviewed-by: Jared Adams
-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.