mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10796] Use regular map case in all trigger checks.
This commit is contained in:
parent
74d178633e
commit
a2909f2674
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue