More fixes concerning lobby chat.

This commit is contained in:
lotodore
2009-08-15 14:08:48 +00:00
parent 150d8930dc
commit 68ed10fd1e
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1487,8 +1487,8 @@ void
ServerLobbyThread::SendPlayerList(boost::shared_ptr<SessionData> s)
{
// Retrieve all player ids.
PlayerIdList idList(m_sessionManager.GetPlayerIdList());
PlayerIdList gameIdList(m_gameSessionManager.GetPlayerIdList());
PlayerIdList idList(m_sessionManager.GetPlayerIdList(SessionData::Established));
PlayerIdList gameIdList(m_gameSessionManager.GetPlayerIdList(SessionData::Game));
idList.splice(idList.begin(), gameIdList);
// Send all player ids to client.
PlayerIdList::const_iterator i = idList.begin();