diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 19:40:49 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 19:40:49 -0600 |
commit | 9078373860729cdf80db8d09cbdee478dc54ec64 (patch) | |
tree | 3e27392dfbca5fe0368d99d577044a6d90bbb41a /src/item.h | |
parent | a0c7d1f61783e77e552896824855377e4bb43f8d (diff) | |
download | mana-9078373860729cdf80db8d09cbdee478dc54ec64.tar.gz mana-9078373860729cdf80db8d09cbdee478dc54ec64.tar.bz2 mana-9078373860729cdf80db8d09cbdee478dc54ec64.tar.xz mana-9078373860729cdf80db8d09cbdee478dc54ec64.zip |
Remove some more #ifdefs
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. */ }; |