diff options
author | alberth <alberth@openttd.org> | 2016-09-04 12:57:43 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2016-09-04 12:57:43 +0000 |
commit | 597380e099688652e31fd1f406b53dee6b65da90 (patch) | |
tree | ac7bdedf8b7fd9d8f096465c3cbb1b41b40f1e78 /src/genworld.cpp | |
parent | df9a9f074a55a839a5f311e5c0837342192e720d (diff) | |
download | openttd-597380e099688652e31fd1f406b53dee6b65da90.tar.xz |
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r-- | src/genworld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp index 2b2dfb5fd..95e28fcdf 100644 --- a/src/genworld.cpp +++ b/src/genworld.cpp @@ -204,7 +204,7 @@ static void _GenerateWorld(void *) if (_debug_desync_level > 0) { char name[MAX_PATH]; seprintf(name, lastof(name), "dmp_cmds_%08x_%08x.sav", _settings_game.game_creation.generation_seed, _date); - SaveOrLoad(name, SL_SAVE, AUTOSAVE_DIR, false); + SaveOrLoad(name, FOP_SAVE, DFT_GAME_FILE, AUTOSAVE_DIR, false); } } catch (...) { BasePersistentStorageArray::SwitchMode(PSM_LEAVE_GAMELOOP, true); |