From eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 23 Nov 2006 22:51:42 +0000 Subject: Refectored the Itemmanager class to an ItemDB namespace. --- src/net/inventoryhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/inventoryhandler.cpp') diff --git a/src/net/inventoryhandler.cpp b/src/net/inventoryhandler.cpp index afe653eb..67038c99 100644 --- a/src/net/inventoryhandler.cpp +++ b/src/net/inventoryhandler.cpp @@ -95,7 +95,7 @@ void InventoryHandler::handleMessage(MessageIn *msg) if (msg->readInt8()> 0) { chatWindow->chatLog("Unable to pick up item", BY_SERVER); } else { - const ItemInfo &itemInfo = itemDb->getItemInfo(itemId); + const ItemInfo &itemInfo = ItemDB::get(itemId); chatWindow->chatLog("You picked up a " + itemInfo.getName(), BY_SERVER); player_node->addInvItem(index, itemId, amount, equipType != 0); -- cgit v1.2.3-70-g09d2