From 2f8ee95fbacb71e7cbca85fcc11e6f9f7e36c258 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 12 Jun 2008 09:06:01 +0000 Subject: Merged revisions 3738 via svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3738 | b_lindeijer | 2007-11-16 00:44:01 +0100 (Fri, 16 Nov 2007) | 3 lines Moved item icon from ItemInfo class to the Item class, so that it can be loaded on demand. Results in faster startup time and reduced memory usage. ........ --- src/gui/sell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/sell.h') diff --git a/src/gui/sell.h b/src/gui/sell.h index c56337ef..0c1a2007 100644 --- a/src/gui/sell.h +++ b/src/gui/sell.h @@ -64,7 +64,7 @@ class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener /** * Adds an item to the inventory. */ - void addItem(Item *item, int price); + void addItem(const Item *item, int price); /** * Called when receiving actions from the widgets. -- cgit v1.2.3-70-g09d2