Core/LFG: Fix assertion triggered

Fix assertion triggered since 9582b32d22ef9c842349a5be012bdcae4674d6c9

(cherry picked from commit dcb500388c0cb4b0ee1b2f86efa43909383fe406)
This commit is contained in:
jackpoz
2015-02-22 06:19:48 +00:00
committed by Duarte Duarte
parent 111e9ebaa7
commit 6d27bed2e1
+1 -1
View File
@@ -758,7 +758,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