summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index 84e07f35..aed77351 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -45,10 +45,10 @@ FloorItem::FloorItem(int id,
mPos.y = y * map->getTileHeight() +
((Net::getNetworkType() == ServerInfo::MANASERV) ? 15 : 32);
- setupSpriteDisplay(ItemDB::get(itemId).getDisplay());
+ setupSpriteDisplay(itemDb->get(itemId).getDisplay());
}
const ItemInfo &FloorItem::getInfo() const
{
- return ItemDB::get(mId);
+ return itemDb->get(mId);
}