diff --git a/methods/Mangos/GroupMethods.h b/methods/Mangos/GroupMethods.h index 9b9037f..7bd4ce7 100644 --- a/methods/Mangos/GroupMethods.h +++ b/methods/Mangos/GroupMethods.h @@ -365,6 +365,10 @@ namespace LuaGroup #if (defined(CLASSIC) || defined(TBC)) group->SetTargetIcon(icon, target); +#elif defined(ELUNA_MANGOS) && ELUNA_EXPANSION == EXP_MISTS + // MoP (mangos-four) restored raid markers with a fourth "context" argument on + // Group::SetTargetIcon; 0 selects a normal target-icon set (see GroupHandler). + group->SetTargetIcon(icon, setter, target, 0); #else group->SetTargetIcon(icon, setter, target); #endif diff --git a/methods/Mangos/PlayerMethods.h b/methods/Mangos/PlayerMethods.h index b842cb7..c98a881 100644 --- a/methods/Mangos/PlayerMethods.h +++ b/methods/Mangos/PlayerMethods.h @@ -2072,6 +2072,9 @@ namespace LuaPlayer { Unit* unit = E->CHECKOBJ(2); +#if defined(ELUNA_MANGOS) && ELUNA_EXPANSION == EXP_MISTS + player->GetSession()->SendAuctionHello(unit); +#else AuctionHouseEntry const* ahEntry = AuctionHouseMgr::GetAuctionHouseEntry(unit); if (!ahEntry) return 0; @@ -2080,14 +2083,13 @@ namespace LuaPlayer data << unit->GET_GUID(); #if defined(ELUNA_MANGOS) && ELUNA_EXPANSION == EXP_TBC data << uint32(ahEntry->ID); -#elif defined(ELUNA_MANGOS) && ELUNA_EXPANSION == EXP_MISTS - data << uint32(ahEntry->ID); #else data << uint32(ahEntry->houseId); #endif data << uint8(1); player->GetSession()->SendPacket(&data); +#endif return 0; }