mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 10:49:48 +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) {
|
if( gameSettings->getFactionControl(i) != ctNetworkUnassigned) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if(clientInterface->getPlayerIndex() != i) {
|
else if(clientInterface->getPlayerIndex() != slot) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user