summaryrefslogtreecommitdiff
path: root/src/gui/shop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shop.h')
-rw-r--r--src/gui/shop.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/shop.h b/src/gui/shop.h
index e0db4c59..aa72bf2a 100644
--- a/src/gui/shop.h
+++ b/src/gui/shop.h
@@ -40,14 +40,16 @@ class ShopItems : public gcn::ListModel
~ShopItems();
/**
- * Adds an item to the list (used by sell dialog).
+ * Adds an item to the list.
*/
- void addItem(int inventoryIndex, short id, int amount, int price);
+ void addItem(int id, int amount, int price);
+#ifdef EATHENA_SUPPORT
/**
- * Adds an item to the list (used by buy dialog).
+ * Adds an item to the list (used by eAthena sell dialog).
*/
- void addItem(short id, int price);
+ void addItem(int inventoryIndex, int id, int amount, int price);
+#endif
/**
* Returns the number of items in the shop.