Skip to content

Commit

Permalink
Fixed wrong error message for quest related areatriggers.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrus88 committed Nov 15, 2010
1 parent 1215b2e commit 2c861ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/MiscHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,8 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
// hack for "Opening of the Dark Portal"
if(missingQuest && at->target_mapId == 269)
SendAreaTriggerMessage("%s", at->requiredFailedText.c_str());
else if(missingQuest && mapEntry->IsContinent())// do not report anything for quest areatriggers
return;
// hack for TBC heroics
else if(missingLevel && !mapEntry->IsRaid() && GetPlayer()->GetDifficulty(false) == DUNGEON_DIFFICULTY_HEROIC && mapEntry->addon == 1)
SendAreaTriggerMessage(GetMangosString(LANG_LEVEL_MINREQUIRED), at->requiredLevel);
Expand Down

0 comments on commit 2c861ed

Please sign in to comment.