diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-23 22:51:42 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-23 22:51:42 +0000 |
commit | eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d (patch) | |
tree | 41015edc17e3c308d04e11c062a31f6bde028ea0 /src/net | |
parent | 08de4c7bab768be5a583150bfabd5d6d54a29c7a (diff) | |
download | mana-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.gz mana-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.bz2 mana-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.xz mana-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.zip |
Refectored the Itemmanager class to an ItemDB namespace.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/inventoryhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |