diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/flooritem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being/flooritem.h b/src/being/flooritem.h index 343e50c40..cedcaf96e 100644 --- a/src/being/flooritem.h +++ b/src/being/flooritem.h @@ -23,6 +23,8 @@ #ifndef BEING_FLOORITEM_H #define BEING_FLOORITEM_H +#include "const/resources/item/cards.h" + #include "enums/simpletypes/damaged.h" #include "enums/simpletypes/identified.h" #include "enums/simpletypes/itemcolor.h" @@ -127,7 +129,7 @@ class FloorItem final : public ActorSprite { return mDamaged; } private: - int mCards[4]; + int mCards[maxCards]; int mItemId; int mX, mY; int mDropTime; |