diff options
author | jackpoz <giacomopoz@gmail.com> | 2015-02-17 19:51:55 +0100 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2015-02-17 19:51:55 +0100 |
commit | dcb500388c0cb4b0ee1b2f86efa43909383fe406 (patch) | |
tree | 31965e97cb0d7df5859bed5cea62a6a83c06500d /src | |
parent | 85105ac87bedb26c052be6ab1c3d0a397075414b (diff) |
Core/LFG: Fix assertion triggered
Fix assertion triggered since 9582b32d22ef9c842349a5be012bdcae4674d6c9
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/DungeonFinding/LFGMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index e1cec48e38c..9b3ccc05280 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -755,7 +755,7 @@ void LFGMgr::GetCompatibleDungeons(LfgDungeonSet& dungeons, GuidSet const& playe { ObjectGuid guid = (*it); LfgLockMap const& cachedLockMap = GetLockedDungeons(guid); - Player* player = ObjectAccessor::FindPlayer(guid); + Player* player = ObjectAccessor::FindConnectedPlayer(guid); for (LfgLockMap::const_iterator it2 = cachedLockMap.begin(); it2 != cachedLockMap.end() && !dungeons.empty(); ++it2) { uint32 dungeonId = (it2->first & 0x00FFFFFF); // Compare dungeon ids |