Core/Instances: Fix dungeon and raid difficulty setting for characters under level 70. Prevents entering heroic modes of instances when access criteria are not met.

This commit is contained in:
Machiavelli
2011-07-19 20:35:05 +02:00
parent bcdbc9517e
commit 85caf3a2c1
2 changed files with 2 additions and 8 deletions
@@ -1515,9 +1515,6 @@ void WorldSession::HandleSetDungeonDifficultyOpcode(WorldPacket & recv_data)
return;
}
if (_player->getLevel() < LEVELREQUIREMENT_HEROIC)
return;
Group *pGroup = _player->GetGroup();
if (pGroup)
{
@@ -1576,9 +1573,6 @@ void WorldSession::HandleSetRaidDifficultyOpcode(WorldPacket & recv_data)
if (Difficulty(mode) == _player->GetRaidDifficulty())
return;
if (_player->getLevel() < LEVELREQUIREMENT_HEROIC)
return;
Group *pGroup = _player->GetGroup();
if (pGroup)
{