Core/Instance: Shared normal/heroic ID is now a configurable feature (default: deactivated)

This commit is contained in:
mik1893
2016-08-10 16:03:21 +01:00
committed by Yehonal
parent 1cb7c81a78
commit f23858188f
8 changed files with 16 additions and 6 deletions

View File

@@ -1508,7 +1508,7 @@ void WorldSession::HandleSetRaidDifficultyOpcode(WorldPacket & recv_data)
return;
}
if ((groupGuy->GetMap()->GetId() == 631 || groupGuy->GetMap()->GetId() == 724) && mode%2 == _player->GetRaidDifficulty()%2 && group->isRaidGroup())
if (IsSharedDifficultyMap(groupGuy->GetMap()->GetId()) && mode%2 == _player->GetRaidDifficulty()%2 && group->isRaidGroup())
{
if (!currMap)
currMap = groupGuy->GetMap();
@@ -1592,7 +1592,7 @@ void WorldSession::HandleSetRaidDifficultyOpcode(WorldPacket & recv_data)
if (!groupGuy)
continue;
if (groupGuy->GetMap()->GetId() == 631 || groupGuy->GetMap()->GetId() == 724)
if (IsSharedDifficultyMap(groupGuy->GetMap()->GetId()))
{
anyoneInside = true;