(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function.

This commit is contained in:
alberth
2016-09-04 12:47:07 +00:00
parent 3b8ede5ebe
commit 2fa0fdb176
7 changed files with 54 additions and 48 deletions

View File

@@ -626,7 +626,7 @@ int openttd_main(int argc, char *argv[])
const char *t = strrchr(_file_to_saveload.name, '.');
if (t != NULL) {
FiosType ft = FiosGetSavegameListCallback(SLD_LOAD_GAME, _file_to_saveload.name, t, NULL, NULL);
if (ft != FIOS_TYPE_INVALID) SetFiosType(ft);
if (ft != FIOS_TYPE_INVALID) _file_to_saveload.SetMode(ft);
}
break;