From 29a39909e3f53305c4e29fdcba863f94603b8763 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Aug 2015 13:57:49 +0300 Subject: Add missing fields into flooritem. --- src/actormanager.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/actormanager.cpp') diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 96d234327..ec0e0ed1b 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -299,12 +299,19 @@ Being *ActorManager::createBeing(const BeingId id, FloorItem *ActorManager::createItem(const BeingId id, const int itemId, const int x, const int y, + const int itemType, const int amount, const ItemColor color, + const Identified identified, const int subX, const int subY) { - FloorItem *const floorItem = new FloorItem(id, itemId, - x, y, amount, color); + FloorItem *const floorItem = new FloorItem(id, + itemId, + x, y, + itemType, + amount, + color, + identified); floorItem->postInit(mMap, subX, subY); if (!checkForPickup(floorItem)) -- cgit v1.2.3-70-g09d2