From 55cbf74cbe2c40b4592e72621e40f8858fc376d9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jan 2016 18:36:21 +0300 Subject: Move cards constants into separate file. --- src/being/flooritem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/being') 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; -- cgit v1.2.3-70-g09d2