Let Atlas provide a default AI seed.
This addresses the Simulation2 warning about a gamesetup mechanism not
having decided explicitly about the RNG.
Differential Revision: https://code.wildfiregames.com/D1187
Reviewed By: mimo
Refs #4917, 7e05d7edc9
/ D1178
This was SVN commit r20726.
This commit is contained in:
parent
4055c564e9
commit
b8216a9164
@ -271,6 +271,9 @@ AtObj MapSettingsControl::UpdateSettingsObject()
|
||||
// teams locked
|
||||
m_MapSettings.setBool("LockTeams", wxDynamicCast(FindWindow(ID_MapTeams), wxCheckBox)->GetValue());
|
||||
|
||||
// default AI RNG seed
|
||||
m_MapSettings.setInt("AISeed", 0);
|
||||
|
||||
return m_MapSettings;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user