mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
Codechange: make SaveLoadOperation a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
04f7adb7b7
commit
93a6aa77c6
+1
-1
@@ -217,7 +217,7 @@ static void _GenerateWorld()
|
||||
|
||||
if (_debug_desync_level > 0) {
|
||||
std::string name = fmt::format("dmp_cmds_{:08x}_{:08x}.sav", _settings_game.game_creation.generation_seed, TimerGameEconomy::date);
|
||||
SaveOrLoad(name, SLO_SAVE, DetailedFileType::GameFile, AUTOSAVE_DIR, false);
|
||||
SaveOrLoad(name, SaveLoadOperation::Save, DetailedFileType::GameFile, AUTOSAVE_DIR, false);
|
||||
}
|
||||
} catch (AbortGenerateWorldSignal&) {
|
||||
CleanupGeneration();
|
||||
|
||||
Reference in New Issue
Block a user