mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codechange: make AbstractFileType a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
c3f1372d74
commit
74b0b080e7
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user