mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 02:40:17 +02:00
bugfix for index value used when switching maps for player in invalid index
This commit is contained in:
@@ -1833,7 +1833,7 @@ void MenuStateConnectedGame::update() {
|
||||
if( gameSettings->getFactionControl(i) != ctNetworkUnassigned) {
|
||||
continue;
|
||||
}
|
||||
else if(clientInterface->getPlayerIndex() != i) {
|
||||
else if(clientInterface->getPlayerIndex() != slot) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user