summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-25 23:10:38 +0100
committerPatric Stout <github@truebrain.nl>2021-03-26 12:22:32 +0100
commit13a52644381b5b4f2f7122d81fee9fb95cc5337a (patch)
tree7ca07f0645db6aca03361d81907b526a62517f18 /src/table
parentf05e2e0d408cfd018d9875855bd28383569481a9 (diff)
downloadopenttd-13a52644381b5b4f2f7122d81fee9fb95cc5337a.tar.xz
Fix: store the recent new game_creation settings in savegames
This allows us to later on see what someone did, and makes sure that "restart" command still knows how the game was created.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 9f5a9b212..c4a6aeafc 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -409,7 +409,7 @@ cat = SC_ADVANCED
base = GameSettings
var = game_creation.heightmap_height
type = SLE_UINT8
-flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
+from = SLV_MAPGEN_SETTINGS_REVAMP
guiflags = SGF_NEWGAME_ONLY
def = MAP_HEIGHT_LIMIT_AUTO_MINIMUM
min = MIN_HEIGHTMAP_HEIGHT
@@ -1433,7 +1433,7 @@ cat = SC_BASIC
base = GameSettings
var = game_creation.snow_coverage
type = SLE_UINT8
-flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
+from = SLV_MAPGEN_SETTINGS_REVAMP
guiflags = SGF_NEWGAME_ONLY
def = DEF_SNOW_COVERAGE
min = 0
@@ -1448,7 +1448,7 @@ cat = SC_BASIC
base = GameSettings
var = game_creation.desert_coverage
type = SLE_UINT8
-flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
+from = SLV_MAPGEN_SETTINGS_REVAMP
guiflags = SGF_NEWGAME_ONLY
def = DEF_DESERT_COVERAGE
min = 0
@@ -2467,7 +2467,7 @@ cat = SC_BASIC
base = GameSettings
var = game_creation.custom_terrain_type
type = SLE_UINT8
-flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
+from = SLV_MAPGEN_SETTINGS_REVAMP
guiflags = SGF_NEWGAME_ONLY
def = MAP_HEIGHT_LIMIT_AUTO_MINIMUM
min = MIN_CUSTOM_TERRAIN_TYPE