Codechange: Turn bit-stuffed FiosType enum into a struct. (#14019)

This commit is contained in:
frosch
2025-04-18 15:20:55 +02:00
committed by GitHub
parent b862d4937f
commit 26db4ccf09
13 changed files with 59 additions and 105 deletions

View File

@@ -1814,7 +1814,7 @@ void NetworkServer_Tick(bool send_frame)
static void NetworkRestartMap()
{
_settings_newgame.game_creation.generation_seed = GENERATE_NEW_SEED;
switch (_file_to_saveload.abstract_ftype) {
switch (_file_to_saveload.ftype.abstract) {
case FT_SAVEGAME:
case FT_SCENARIO:
_switch_mode = SM_LOAD_GAME;