diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-24 01:39:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-24 01:39:45 +0300 |
commit | 07a9b9009f7b05fc39540430fa6639b493ed9829 (patch) | |
tree | be4049d169daffd99122ecdc99ab0d0e974f54a5 /src/flooritem.cpp | |
parent | bedfca1c1cb893c937d317dd658067166e9953e0 (diff) | |
download | manaplus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.gz manaplus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.bz2 manaplus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.xz manaplus-07a9b9009f7b05fc39540430fa6639b493ed9829.zip |
Add damaged attribute to floor items.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r-- | src/flooritem.cpp | 2 |
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")) { |