diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-10 19:34:42 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-10 19:54:02 +0200 |
commit | f2dbb7140f8efab0278ac17489b75c0c8ab60102 (patch) | |
tree | 400111c6fe5c6114a96d1e1a9178f8109725faec /src/item.h | |
parent | 7f15330d969e5c973429d03ca767551e7b67c3c3 (diff) | |
download | mana-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |