From 9078373860729cdf80db8d09cbdee478dc54ec64 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 5 Apr 2009 19:40:49 -0600 Subject: Remove some more #ifdefs --- src/item.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index 1fd1ee88..87a37e08 100644 --- a/src/item.h +++ b/src/item.h @@ -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. */ }; -- cgit v1.2.3-70-g09d2