summaryrefslogtreecommitdiff
path: root/src/actormanager.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/actormanager.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/actormanager.cpp')
-rw-r--r--src/actormanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 43330a7c5..ef4eac8c6 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -307,6 +307,7 @@ FloorItem *ActorManager::createItem(const BeingId id,
const int refine,
const ItemColor color,
const Identified identified,
+ const Damaged damaged,
const int subX, const int subY,
const int *const cards)
{
@@ -318,6 +319,7 @@ FloorItem *ActorManager::createItem(const BeingId id,
refine,
color,
identified,
+ damaged,
cards);
floorItem->postInit(mMap, subX, subY);