summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-18 00:27:11 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-18 00:27:11 +0000
commit290aab364a310b18bb02567f6e4e424d94148bf9 (patch)
tree13a860174c635db34e6087aa31c001386cbd6a7c /src/gui/sell.cpp
parent19b58f22f7e77382183c70d2b6a1c79b5e1584e7 (diff)
downloadmana-client-290aab364a310b18bb02567f6e4e424d94148bf9.tar.gz
mana-client-290aab364a310b18bb02567f6e4e424d94148bf9.tar.bz2
mana-client-290aab364a310b18bb02567f6e4e424d94148bf9.tar.xz
mana-client-290aab364a310b18bb02567f6e4e424d94148bf9.zip
Created Inventory class. (Really) Small code simplifications and cleanups.
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 5ce56438..26487b9a 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -22,12 +22,12 @@
*/
#include "sell.h"
-#include "inventory.h"
#include "button.h"
#include "slider.h"
#include "scrollarea.h"
#include "listbox.h"
#include "../game.h"
+#include "../inventory.h"
#include "../net/network.h"
#include <sstream>
@@ -90,7 +90,7 @@ void SellDialog::reset()
void SellDialog::addItem(short index, int price)
{
- Item *item = inventoryWindow->items->getItem(index);
+ Item *item = inventory->getItem(index);
if (!item)
return;