diff options
author | Spp <none@none> | 2010-10-06 17:31:54 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-10-06 17:31:54 +0200 |
commit | 5606bdd9ab35cd6c2bc9762ce7e3a98a0f980c8d (patch) | |
tree | f06566da1be1338ac9a16125e62ba5cea6e331c5 /src | |
parent | 58c535a7cd37eb5a8e585cb13ff9eb9ecd2d8135 (diff) |
Core/Dungeon Finder: Add log error when no areatrigger found for map and difficulty
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/DungeonFinding/LFGMgr.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index e54304fd403..b4e233fd455 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -1868,7 +1868,10 @@ void LFGMgr::TeleportPlayer(Player* plr, bool out, bool fromOpcode /*= false*/) { AreaTrigger const* at = sObjectMgr.GetMapEntranceTrigger(dungeon->map); if (!at) + { + sLog.outError("LfgMgr::TeleportPlayer: Failed to teleport [" UI64FMTD "]: No areatrigger found for map: %u difficulty: %u", plr->GetGUID(), dungeon->map, dungeon->difficulty); error = LFG_TELEPORTERROR_INVALID_LOCATION; + } else { mapid = at->target_mapId; @@ -1892,7 +1895,7 @@ void LFGMgr::TeleportPlayer(Player* plr, bool out, bool fromOpcode /*= false*/) else { error = LFG_TELEPORTERROR_INVALID_LOCATION; - sLog.outError("LfgMgr::TeleportPlayer: Failed to teleport [" UI64FMTD "] to map %u: ", plr->GetGUID(), mapid); + sLog.outError("LfgMgr::TeleportPlayer: Failed to teleport [" UI64FMTD "] to map %u: ", plr->GetGUID(), mapid); } } } |