From 3242aa80fbee19eb421ace68d1c3c69e4fc777e6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Aug 2015 18:35:06 +0300 Subject: Add packet SMSG_ITEM_VISIBLE2 0x0b18. Change net version to 10. --- src/actormanager.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/actormanager.cpp') 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)) -- cgit v1.2.3-60-g2f50