Codechange: make SavegameType scoped

This commit is contained in:
Rubidium
2026-06-28 06:35:05 +02:00
committed by rubidium42
parent b02242d5fc
commit 8b83bac31f
6 changed files with 43 additions and 43 deletions
+1 -1
View File
@@ -3201,7 +3201,7 @@ static SaveLoadResult DoLoad(std::shared_ptr<LoadFilter> reader, bool load_check
ClearSaveLoadState();
_savegame_type = SGT_OTTD;
_savegame_type = SavegameType::OTTD;
if (load_check) {
/* The only part from AfterLoadGame() we need */