(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default

This commit is contained in:
rubidium
2011-01-18 18:14:14 +00:00
parent 3f900d3580
commit 6a17bf91e3
3 changed files with 3 additions and 3 deletions

View File

@@ -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();