summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-21 22:12:51 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-21 22:12:51 +0200
commit05ea95733e9ec89626e08989e0688e73d1408d3a (patch)
tree2351a8f2b6b81eb48a6f5f4dd068a9a13d117fb1 /src/flooritem.cpp
parent7be91e6213aadb0405bdd2fa3a9210598b254041 (diff)
downloadmanaplus-05ea95733e9ec89626e08989e0688e73d1408d3a.tar.gz
manaplus-05ea95733e9ec89626e08989e0688e73d1408d3a.tar.bz2
manaplus-05ea95733e9ec89626e08989e0688e73d1408d3a.tar.xz
manaplus-05ea95733e9ec89626e08989e0688e73d1408d3a.zip
Add floor items attribute for drawing floor items.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index b669bece3..88a8971b9 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -68,7 +68,7 @@ FloorItem::FloorItem(int id,
mPos.y = 0;
}
- setupSpriteDisplay(ItemDB::get(itemId).getDisplay());
+ setupSpriteDisplay(ItemDB::get(itemId).getDisplay(), true, 1);
}
const ItemInfo &FloorItem::getInfo() const