bugfix for index value used when switching maps for player in invalid index

This commit is contained in:
Mark Vejvoda 2011-09-02 00:20:10 +00:00
parent e44170ea00
commit 8d8996c0ee

View File

@ -1833,7 +1833,7 @@ void MenuStateConnectedGame::update() {
if( gameSettings->getFactionControl(i) != ctNetworkUnassigned) {
continue;
}
else if(clientInterface->getPlayerIndex() != i) {
else if(clientInterface->getPlayerIndex() != slot) {
continue;
}
}