mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 13:23:56 -07:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue