mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
- bugfix when loading last game settings to retain player name
This commit is contained in:
parent
e4d524c181
commit
02fa995ce3
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user