mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 00:19:00 +02:00
clients can choose their slots
This commit is contained in:
@@ -366,7 +366,15 @@ void ClientInterface::updateLobby()
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case nmtPlayerIndexMessage:
|
||||
{
|
||||
PlayerIndexMessage playerIndexMessage(-1);
|
||||
if(receiveMessage(&playerIndexMessage))
|
||||
{
|
||||
playerIndex= playerIndexMessage.getPlayerIndex();
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
string sErr = string(__FILE__) + "::" + string(__FUNCTION__) + " Unexpected network message: " + intToStr(networkMessageType);
|
||||
|
Reference in New Issue
Block a user