summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-10 19:34:42 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-10 19:54:02 +0200
commitf2dbb7140f8efab0278ac17489b75c0c8ab60102 (patch)
tree400111c6fe5c6114a96d1e1a9178f8109725faec /src/item.h
parent7f15330d969e5c973429d03ca767551e7b67c3c3 (diff)
downloadmana-f2dbb7140f8efab0278ac17489b75c0c8ab60102.tar.gz
mana-f2dbb7140f8efab0278ac17489b75c0c8ab60102.tar.bz2
mana-f2dbb7140f8efab0278ac17489b75c0c8ab60102.tar.xz
mana-f2dbb7140f8efab0278ac17489b75c0c8ab60102.zip
Fixed the problem with items disappearing beneath the road
Increased their pixel y coordinate by half a tile, to make them draw between the fringe and the beings.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item.h b/src/item.h
index 87a37e08..0e27aa4c 100644
--- a/src/item.h
+++ b/src/item.h
@@ -56,7 +56,7 @@ class Item
/**
* Returns the item image.
*/
- Image* getImage() { return mImage; }
+ Image *getImage() { return mImage; }
/**
* Sets the number of items.
@@ -106,7 +106,7 @@ class Item
/**
* Returns information about this item type.
*/
- const ItemInfo& getInfo() const { return ItemDB::get(mId); }
+ const ItemInfo &getInfo() const { return ItemDB::get(mId); }
protected:
int mId; /**< Item type id. */