summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-14 21:41:23 +0000
committerrubidium <rubidium@openttd.org>2011-11-14 21:41:23 +0000
commit5446b40c07dbfaad1911f9230e88a88c1e39972f (patch)
treeca35d2c0ee8b1969f583b566ee6edeca24244094
parent4ae8bbea0706aa6c878d713489056ef634aa2d6d (diff)
downloadopenttd-5446b40c07dbfaad1911f9230e88a88c1e39972f.tar.xz
(svn r23223) -Codechange: store the last newgrf count in the misc section
-rw-r--r--src/table/misc_settings.ini8
-rw-r--r--src/table/settings.ini8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini
index 71fc33ca0..3becf5b50 100644
--- a/src/table/misc_settings.ini
+++ b/src/table/misc_settings.ini
@@ -241,5 +241,13 @@ type = SLE_STRB
var = _keyboard_opt[1]
def = NULL
+[SDTG_VAR]
+name = ""last_newgrf_count""
+type = SLE_UINT32
+var = _settings_client.gui.last_newgrf_count
+def = 100
+min = 0
+max = UINT32_MAX
+
[SDTG_END]
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 65edeea2c..f519db615 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -2377,14 +2377,6 @@ str = STR_CONFIG_SETTING_EXPENSES_LAYOUT
proc = RedrawScreen
[SDTC_VAR]
-var = gui.last_newgrf_count
-type = SLE_UINT32
-flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
-def = 100
-min = 0
-max = UINT32_MAX
-
-[SDTC_VAR]
var = gui.missing_strings_threshold
type = SLE_UINT8
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC