summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-25 03:42:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-25 03:42:09 +0300
commita4252ba2050b16a53247335cdddd7aa13a532239 (patch)
tree19a41cf0b1c546d5b1cc217194a1fe0a477d545d /src/flooritem.cpp
parent4afb49eb81f590c2bce56ed28f237a9bf0e2a093 (diff)
downloadmanaplus-a4252ba2050b16a53247335cdddd7aa13a532239.tar.gz
manaplus-a4252ba2050b16a53247335cdddd7aa13a532239.tar.bz2
manaplus-a4252ba2050b16a53247335cdddd7aa13a532239.tar.xz
manaplus-a4252ba2050b16a53247335cdddd7aa13a532239.zip
Add removing palyers sprite logic depend on players direction.
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 952e8eebb..63112511e 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -78,7 +78,7 @@ FloorItem::FloorItem(int id,
mPos.y = 0;
}
- ItemInfo info = ItemDB::get(itemId);
+ const ItemInfo &info = ItemDB::get(itemId);
setupSpriteDisplay(info.getDisplay(), true, 1,
info.getDyeColorsString(mColor));
}