mirror of
https://github.com/glest/glest-source.git
synced 2025-09-08 23:10:42 +02:00
- bugfix for mixed up username when changing map and human player's slot is changed.
This commit is contained in:
@@ -2740,8 +2740,10 @@ void MenuStateCustomGame::updateControlers(){
|
||||
}
|
||||
}
|
||||
|
||||
if(!humanPlayer){
|
||||
if(humanPlayer == false) {
|
||||
listBoxControls[0].setSelectedItemIndex(ctHuman);
|
||||
labelPlayerNames[0].setText("");
|
||||
labelPlayerNames[0].setText(getHumanPlayerName());
|
||||
}
|
||||
|
||||
for(int i= mapInfo.players; i < GameConstants::maxPlayers; ++i) {
|
||||
|
Reference in New Issue
Block a user