- rename File_Name back.
This commit is contained in:
parent
8e250abe0a
commit
929cae2f41
8 changed files with 32 additions and 32 deletions
|
|
@ -154,7 +154,7 @@ static bool IsWadInFolder(const FResourceFile* const archive, const char* const
|
|||
return false;
|
||||
}
|
||||
|
||||
const auto dirName = ExtractBaseName(archive->File_Name);
|
||||
const auto dirName = ExtractBaseName(archive->FileName);
|
||||
const auto fileName = ExtractBaseName(resPath, true);
|
||||
const std::string filePath = dirName + '/' + fileName;
|
||||
|
||||
|
|
@ -239,7 +239,7 @@ void *FResourceLump::Lock()
|
|||
catch (const FileSystemException& err)
|
||||
{
|
||||
// enrich the message with info about this lump.
|
||||
throw FileSystemException("%s, file '%s': %s", getName(), Owner->File_Name, err.what());
|
||||
throw FileSystemException("%s, file '%s': %s", getName(), Owner->FileName, err.what());
|
||||
}
|
||||
}
|
||||
return Cache;
|
||||
|
|
@ -330,7 +330,7 @@ FResourceFile *FResourceFile::OpenDirectory(const char *filename, LumpFilterInfo
|
|||
FResourceFile::FResourceFile(const char *filename, StringPool* sp)
|
||||
{
|
||||
stringpool = sp ? sp : new StringPool;
|
||||
File_Name = stringpool->Strdup(filename);
|
||||
FileName = stringpool->Strdup(filename);
|
||||
}
|
||||
|
||||
FResourceFile::FResourceFile(const char *filename, FileReader &r, StringPool* sp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue