summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2012-05-06 15:00:13 +0000
committeralberth <alberth@openttd.org>2012-05-06 15:00:13 +0000
commit8c585e5ad6d0d115c48fbc4f11a5a70f9f997f24 (patch)
tree3d5f8f96cc6c60d0ae9fa43cbfc767af822e4159 /src
parentb5981bca90b8296d3ab6f977c05e198e256fb166 (diff)
downloadopenttd-8c585e5ad6d0d115c48fbc4f11a5a70f9f997f24.tar.xz
(svn r24209) -Cleanup: Remove now unused SGF_NOCOMMA value.
Diffstat (limited to 'src')
-rw-r--r--src/settings_internal.h1
-rw-r--r--src/table/settings.ini5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h
index b6465bd3c..587366f3d 100644
--- a/src/settings_internal.h
+++ b/src/settings_internal.h
@@ -40,7 +40,6 @@ enum SettingGuiFlagLong {
* Flags directing saving/loading of a variable */
SGF_NONE = 0,
SGF_0ISDISABLED = 1 << 0, ///< a value of zero means the feature is disabled
- SGF_NOCOMMA = 1 << 1, ///< number without any thousand seperators (no formatting)
SGF_MULTISTRING = 1 << 2, ///< the value represents a limited number of string-options (internally integer)
SGF_NETWORK_ONLY = 1 << 3, ///< this setting only applies to network games
SGF_CURRENCY = 1 << 4, ///< the number represents money, so when reading value multiply by exchange rate
diff --git a/src/table/settings.ini b/src/table/settings.ini
index d67528f2d..65ccab054 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -1084,7 +1084,6 @@ to = 143
base = GameSettings
var = game_creation.starting_year
type = SLE_INT32
-guiflags = SGF_NOCOMMA
def = DEF_START_YEAR
min = MIN_YEAR
max = MAX_YEAR
@@ -2288,7 +2287,6 @@ proc = CloseSignalGUI
var = gui.coloured_news_year
type = SLE_INT32
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
-guiflags = SGF_NOCOMMA
def = 2000
min = MIN_YEAR
max = MAX_YEAR
@@ -2317,7 +2315,6 @@ str = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE
var = gui.semaphore_build_before
type = SLE_INT32
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
-guiflags = SGF_NOCOMMA
def = 1950
min = MIN_YEAR
max = MAX_YEAR
@@ -2941,7 +2938,7 @@ ifdef = ENABLE_NETWORK
var = network.restart_game_year
type = SLE_INT32
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
-guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY | SGF_NOCOMMA
+guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
def = 0
min = MIN_YEAR
max = MAX_YEAR