- rename File_Name back.

This commit is contained in:
Christoph Oelckers 2023-08-22 19:56:38 +02:00
commit 929cae2f41
8 changed files with 32 additions and 32 deletions

View file

@ -1418,7 +1418,7 @@ const char *FileSystem::GetResourceFileName (int rfnum) const noexcept
return NULL;
}
name = Files[rfnum]->File_Name;
name = Files[rfnum]->FileName;
slash = strrchr (name, '/');
return (slash != nullptr && slash[1] != 0) ? slash+1 : name;
}
@ -1484,7 +1484,7 @@ const char *FileSystem::GetResourceFileFullName (int rfnum) const noexcept
return nullptr;
}
return Files[rfnum]->File_Name;
return Files[rfnum]->FileName;
}