summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp11
1 files changed, 9 insertions, 2 deletions
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))