diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-16 18:35:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-16 19:43:03 +0300 |
commit | 3242aa80fbee19eb421ace68d1c3c69e4fc777e6 (patch) | |
tree | 50cc1b2e47953c20059183889e667f673ba7e4c2 /src/actormanager.cpp | |
parent | d207e52ab770681f8bd584c06dd9aa03096b71f5 (diff) | |
download | manaplus-3242aa80fbee19eb421ace68d1c3c69e4fc777e6.tar.gz manaplus-3242aa80fbee19eb421ace68d1c3c69e4fc777e6.tar.bz2 manaplus-3242aa80fbee19eb421ace68d1c3c69e4fc777e6.tar.xz manaplus-3242aa80fbee19eb421ace68d1c3c69e4fc777e6.zip |
Add packet SMSG_ITEM_VISIBLE2 0x0b18.
Change net version to 10.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 8 |
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)) |