[10796] Use regular map case in all trigger checks.

This commit is contained in:
VladimirMangos 2010-11-30 11:11:48 +03:00
parent 74d178633e
commit a2909f2674
2 changed files with 3 additions and 3 deletions

View file

@ -767,7 +767,7 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
if(!mapEntry)
return;
bool isRegularTargetMap = GetPlayer()->GetDifficulty(mapEntry->IsRaid()) == REGULAR_DIFFICULTY;
bool isRegularTargetMap = !mapEntry->IsDungeon() || GetPlayer()->GetDifficulty(mapEntry->IsRaid()) == REGULAR_DIFFICULTY;
if (!isRegularTargetMap)
{
@ -781,7 +781,7 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
missingItem = true;
}
if (!isRegularTargetMap && mapEntry->IsDungeon())
if (!isRegularTargetMap)
{
if (at->requiredQuestHeroic && !GetPlayer()->GetQuestRewardStatus(at->requiredQuestHeroic))
missingQuest = true;