summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index d846d5f9b..8cb59bd9d 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -46,8 +46,10 @@ extern volatile int cur_time;
FloorItem::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) :
ActorSprite(id),
mItemId(itemId),
mX(x),
@@ -55,9 +57,11 @@ FloorItem::FloorItem(const BeingId id,
mDropTime(cur_time),
mAmount(amount),
mHeightPosDiff(0),
+ mItemType(itemType),
mPickupCount(0),
mCursor(Cursor::CURSOR_PICKUP),
mColor(color),
+ mIdentified(identified),
mShowMsg(true),
mHighlight(config.getBoolValue("floorItemsHighlight"))
{