mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: make SavegameType scoped
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user