diff options
author | rubidium <rubidium@openttd.org> | 2013-07-12 18:54:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-07-12 18:54:27 +0000 |
commit | 81ce9ad1897819c94099e3c542bb7f480ba0f57b (patch) | |
tree | ff3ec18f5d96d1d28895734bc13a81647b3cd7d3 /src/ai | |
parent | 11f756ac974b1da2afd68a2496ae3f07e4da393d (diff) | |
download | openttd-81ce9ad1897819c94099e3c542bb7f480ba0f57b.tar.xz |
(svn r25592) -Fix [FS#5644]: Changing the script difficulty level in-game would also change the settings using the default even though they were not allowed to change in-game
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp index 8ad3e67df..3f4381b0c 100644 --- a/src/ai/ai_core.cpp +++ b/src/ai/ai_core.cpp @@ -47,6 +47,7 @@ /* Load default data and store the name in the settings */ config->Change(info->GetName(), -1, false, true); } + config->AnchorUnchangeableSettings(); Backup<CompanyByte> cur_company(_current_company, company, FILE_LINE); Company *c = Company::Get(company); |