summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index ec0e0ed1b..b83a08a0d 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -301,17 +301,21 @@ FloorItem *ActorManager::createItem(const BeingId id,
const int x, const int y,
const int itemType,
const int amount,
+ const int refine,
const ItemColor color,
const Identified identified,
- const int subX, const int subY)
+ const int subX, const int subY,
+ const int *const cards)
{
FloorItem *const floorItem = new FloorItem(id,
itemId,
x, y,
itemType,
amount,
+ refine,
color,
- identified);
+ identified,
+ cards);
floorItem->postInit(mMap, subX, subY);
if (!checkForPickup(floorItem))