From 29a39909e3f53305c4e29fdcba863f94603b8763 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Aug 2015 13:57:49 +0300 Subject: Add missing fields into flooritem. --- src/flooritem.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/flooritem.h') diff --git a/src/flooritem.h b/src/flooritem.h index fe0bd26ad..b6310e419 100644 --- a/src/flooritem.h +++ b/src/flooritem.h @@ -23,6 +23,7 @@ #ifndef FLOORITEM_H #define FLOORITEM_H +#include "enums/simpletypes/identified.h" #include "enums/simpletypes/itemcolor.h" #include "being/actorsprite.h" @@ -50,8 +51,10 @@ class FloorItem final : public ActorSprite FloorItem(const BeingId id, const int itemId, const int x, const int y, + const int itemType, const int amount, - const ItemColor color); + const ItemColor color, + const Identified identified); A_DELETE_COPY(FloorItem) @@ -111,9 +114,11 @@ class FloorItem final : public ActorSprite int mDropTime; int mAmount; int mHeightPosDiff; + int mItemType; unsigned int mPickupCount; Cursor::Cursor mCursor; ItemColor mColor; + Identified mIdentified; bool mShowMsg; bool mHighlight; }; -- cgit v1.2.3-60-g2f50