forked from mirrors/0ad
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user