diff options
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -35,11 +35,8 @@ class Item /** * Constructor. */ - Item(int id = -1, int quantity = 0, bool equipment = false -#ifdef EATHENA_SUPPORT - , bool equipped = false -#endif - ); + Item(int id = -1, int quantity = 0, bool equipment = false, + bool equipped = false); /** * Destructor. @@ -86,7 +83,6 @@ class Item */ bool isEquipment() const { return mEquipment; } -#ifdef EATHENA_SUPPORT /** * Sets whether this item is equipped. */ @@ -96,7 +92,6 @@ class Item * Returns whether this item is equipped. */ bool isEquipped() const { return mEquipped; } -#endif /** * Sets the inventory index of this item. @@ -118,9 +113,7 @@ class Item Image *mImage; /**< Item image. */ int mQuantity; /**< Number of items. */ bool mEquipment; /**< Item is equipment. */ -#ifdef EATHENA_SUPPORT bool mEquipped; /**< Item is equipped. */ -#endif int mInvIndex; /**< Inventory index. */ }; |