diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-16 13:57:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-16 13:57:49 +0300 |
commit | 29a39909e3f53305c4e29fdcba863f94603b8763 (patch) | |
tree | 54681b323307085e5f1fce7f8a5b341c50b63f49 /src/actormanager.cpp | |
parent | 41cc92f73e39cec5dfea6b1164176610cccc7df4 (diff) | |
download | manaplus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.gz manaplus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.bz2 manaplus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.xz manaplus-29a39909e3f53305c4e29fdcba863f94603b8763.zip |
Add missing fields into flooritem.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 11 |
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)) |