summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 18:14:14 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 18:14:14 +0000
commit6a17bf91e3c436a5659fefcb0a2e156939e7a80c (patch)
treed8e709ced4bb676afbd27fa3be11701e1837f52f /src/genworld.cpp
parent3f900d3580fc4afd967df859e6dfdce664ff3ca9 (diff)
downloadopenttd-6a17bf91e3c436a5659fefcb0a2e156939e7a80c.tar.xz
(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index af42a5bcb..b0ed4295f 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -188,7 +188,7 @@ static void _GenerateWorld(void *)
if (_debug_desync_level > 0) {
char name[MAX_PATH];
snprintf(name, lengthof(name), "dmp_cmds_%08x_%08x.sav", _settings_game.game_creation.generation_seed, _date);
- SaveOrLoad(name, SL_SAVE, AUTOSAVE_DIR);
+ SaveOrLoad(name, SL_SAVE, AUTOSAVE_DIR, false);
}
} catch (...) {
if (_cur_company.IsValid()) _cur_company.Restore();