summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-05 19:40:49 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-05 19:40:49 -0600
commit9078373860729cdf80db8d09cbdee478dc54ec64 (patch)
tree3e27392dfbca5fe0368d99d577044a6d90bbb41a /src/item.h
parenta0c7d1f61783e77e552896824855377e4bb43f8d (diff)
downloadmana-client-9078373860729cdf80db8d09cbdee478dc54ec64.tar.gz
mana-client-9078373860729cdf80db8d09cbdee478dc54ec64.tar.bz2
mana-client-9078373860729cdf80db8d09cbdee478dc54ec64.tar.xz
mana-client-9078373860729cdf80db8d09cbdee478dc54ec64.zip
Remove some more #ifdefs
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h11
1 files changed, 2 insertions, 9 deletions
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. */
};