summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-11-23 22:51:42 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-11-23 22:51:42 +0000
commiteb6a3dfd09f88414ba1bae9ffe1cf4440db7565d (patch)
tree41015edc17e3c308d04e11c062a31f6bde028ea0 /src/gui/sell.cpp
parent08de4c7bab768be5a583150bfabd5d6d54a29c7a (diff)
downloadmana-client-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.gz
mana-client-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.bz2
mana-client-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.xz
mana-client-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.zip
Refectored the Itemmanager class to an ItemDB namespace.
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index f32b4b5c..0137fdde 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -37,7 +37,7 @@
#include "../npc.h"
#include "../resources/iteminfo.h"
-#include "../resources/itemmanager.h"
+#include "../resources/itemdb.h"
#include "../net/messageout.h"
#include "../net/protocol.h"
@@ -277,7 +277,7 @@ void SellDialog::selectionChanged(const SelectionEvent &event)
if (selectedItem > -1)
{
const ItemInfo &info =
- itemDb->getItemInfo(mShopItems->at(selectedItem).id);
+ ItemDB::get(mShopItems->at(selectedItem).id);
mItemDescLabel->setCaption("Description: " + info.getDescription());
mItemEffectLabel->setCaption("Effect: " + info.getEffect());