summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-24 01:39:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-24 01:39:45 +0300
commit07a9b9009f7b05fc39540430fa6639b493ed9829 (patch)
treebe4049d169daffd99122ecdc99ab0d0e974f54a5 /src/flooritem.cpp
parentbedfca1c1cb893c937d317dd658067166e9953e0 (diff)
downloadplus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.gz
plus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.bz2
plus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.xz
plus-07a9b9009f7b05fc39540430fa6639b493ed9829.zip
Add damaged attribute to floor items.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index 4d549ba0a..a833ff935 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -52,6 +52,7 @@ FloorItem::FloorItem(const BeingId id,
const int refine,
const ItemColor color,
const Identified identified,
+ const Damaged damaged,
const int *const cards) :
ActorSprite(id),
mCards(),
@@ -67,6 +68,7 @@ FloorItem::FloorItem(const BeingId id,
mCursor(Cursor::CURSOR_PICKUP),
mColor(color),
mIdentified(identified),
+ mDamaged(damaged),
mShowMsg(true),
mHighlight(config.getBoolValue("floorItemsHighlight"))
{