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/item.h | |
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/item.h')
-rw-r--r-- | src/item.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ #ifndef _ITEM_H_ #define _ITEM_H_ -#include "resources/itemmanager.h" +#include "resources/itemdb.h" /** * Represents one or more instances of a certain item type. @@ -119,7 +119,7 @@ class Item * Returns information about this item type. */ const ItemInfo& - getInfo() const { return itemDb->getItemInfo(mId); } + getInfo() const { return ItemDB::get(mId); } protected: int mId; /**< Item type id. */ |