From 07a9b9009f7b05fc39540430fa6639b493ed9829 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Aug 2015 01:39:45 +0300 Subject: Add damaged attribute to floor items. --- src/actormanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/actormanager.cpp') 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); -- cgit v1.2.3-70-g09d2