summaryrefslogtreecommitdiff
path: root/src/being/flooritem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/flooritem.h')
-rw-r--r--src/being/flooritem.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/being/flooritem.h b/src/being/flooritem.h
index bb57039e1..1b5b87d3e 100644
--- a/src/being/flooritem.h
+++ b/src/being/flooritem.h
@@ -25,6 +25,8 @@
#include "const/resources/item/cards.h"
+#include "enums/resources/itemtype.h"
+
#include "enums/simpletypes/damaged.h"
#include "enums/simpletypes/identified.h"
#include "enums/simpletypes/itemcolor.h"
@@ -54,7 +56,7 @@ class FloorItem final : public ActorSprite
FloorItem(const BeingId id,
const int itemId,
const int x, const int y,
- const int itemType,
+ const ItemTypeT itemType,
const int amount,
const int refine,
const ItemColor color,
@@ -121,7 +123,7 @@ class FloorItem final : public ActorSprite
int getRefine() const A_WARN_UNUSED
{ return mRefine; }
- int getItemType() const A_WARN_UNUSED
+ ItemTypeT getItemType() const A_WARN_UNUSED
{ return mItemType; }
Identified getIdentified() const A_WARN_UNUSED
@@ -138,7 +140,7 @@ class FloorItem final : public ActorSprite
int mAmount;
int mRefine;
int mHeightPosDiff;
- int mItemType;
+ ItemTypeT mItemType;
unsigned int mPickupCount;
Cursor::Cursor mCursor;
ItemColor mColor;