Core/Dungeon Finder: Fix problems when joining queue

- Fix Rolechecks
- Fix incorrect dungeon stored when queued as individual:
  * Those that joined as random were only matching with others that joined random
  * Teleport location was incorrect.

Closes issue 5161
Updates issue 5162

--HG--
branch : trunk
This commit is contained in:
Spp
2010-12-21 23:16:09 +01:00
parent 0c44943cd2
commit f33f51c287
2 changed files with 23 additions and 19 deletions
@@ -116,6 +116,7 @@ void WorldSession::HandleLfgSetRolesOpcode(WorldPacket& recv_data)
return;
}
sLog.outDebug("CMSG_LFG_SET_ROLES [" UI64FMTD "] Roles: %u", guid, roles);
sLFGMgr.SetRoles(guid, roles);
sLFGMgr.UpdateRoleCheck(grp, GetPlayer());
}