Fixing backward compatibility.

This commit is contained in:
lotodore
2009-04-11 12:45:56 +00:00
parent 992dd4b618
commit 23ffcc8e9c
+1 -1
View File
@@ -309,7 +309,7 @@ ServerGameStateInit::HandleNewSession(ServerGameThread &server, SessionWrapper s
server.MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL); server.MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL);
} }
// Check whether the client supports the current game. // Check whether the client supports the current game.
else if (curNumPlayers >= session.sessionData->GetMaxNumPlayers()) else if ((size_t)server.GetGameData().maxNumberOfPlayers > session.sessionData->GetMaxNumPlayers())
{ {
server.MoveSessionToLobby(session, NTF_NET_NEW_RELEASE_AVAILABLE); server.MoveSessionToLobby(session, NTF_NET_NEW_RELEASE_AVAILABLE);
} }