diff options
Diffstat (limited to 'src/gui/sell.h')
-rw-r--r-- | src/gui/sell.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h index 9d1325a0..5cf5479e 100644 --- a/src/gui/sell.h +++ b/src/gui/sell.h @@ -33,8 +33,9 @@ #include "../guichanfwd.h" -struct ITEM_SHOP; +class Item; +struct ITEM_SHOP; /** * The sell dialog. @@ -65,7 +66,7 @@ class SellDialog : public Window, public gcn::ActionListener, /** * Adds an item to the inventory. */ - void addItem(short id, int price); + void addItem(Item *item, int price); /** * Called when receiving actions from the widgets. |