diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-16 13:57:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-16 13:57:49 +0300 |
commit | 29a39909e3f53305c4e29fdcba863f94603b8763 (patch) | |
tree | 54681b323307085e5f1fce7f8a5b341c50b63f49 /src/flooritem.cpp | |
parent | 41cc92f73e39cec5dfea6b1164176610cccc7df4 (diff) | |
download | manaverse-29a39909e3f53305c4e29fdcba863f94603b8763.tar.gz manaverse-29a39909e3f53305c4e29fdcba863f94603b8763.tar.bz2 manaverse-29a39909e3f53305c4e29fdcba863f94603b8763.tar.xz manaverse-29a39909e3f53305c4e29fdcba863f94603b8763.zip |
Add missing fields into flooritem.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r-- | src/flooritem.cpp | 6 |
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")) { |