Codechange: make AbstractFileType a scoped enum

This commit is contained in:
Peter Nelson
2026-04-05 21:46:07 +01:00
committed by Peter Nelson
parent c3f1372d74
commit 74b0b080e7
13 changed files with 87 additions and 87 deletions
+1 -1
View File
@@ -3455,7 +3455,7 @@ std::string GenerateDefaultSaveName()
*/
void FileToSaveLoad::SetMode(const FiosType &ft, SaveLoadOperation fop)
{
if (ft.abstract == FT_INVALID || ft.abstract == FT_NONE) {
if (ft.abstract == AbstractFileType::Invalid || ft.abstract == AbstractFileType::None) {
this->file_op = SLO_INVALID;
this->ftype = FIOS_TYPE_INVALID;
return;