mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 17:39:02 +02:00
- bugfix when loading last game settings to retain player name
This commit is contained in:
@@ -3899,6 +3899,11 @@ void MenuStateCustomGame::KeepCurrentHumanPlayerSlots(GameSettings &gameSettings
|
||||
gameSettings.setNetworkPlayerName(index,getHumanPlayerName());
|
||||
}
|
||||
}
|
||||
|
||||
ControlType ctFile = static_cast<ControlType>(gameSettings.getFactionControl(index));
|
||||
if(ctFile == ctHuman) {
|
||||
gameSettings.setFactionControl(index,ctHuman);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user