- use the string pool for storing resource file names.
This commit is contained in:
parent
6d2047eef6
commit
54dc687436
8 changed files with 35 additions and 33 deletions
|
|
@ -68,7 +68,7 @@ FLumpFile::FLumpFile(const char *filename, FileReader &file, StringPool* sp)
|
|||
bool FLumpFile::Open(LumpFilterInfo*)
|
||||
{
|
||||
Lumps.Resize(1);
|
||||
Lumps[0].LumpNameSetup(ExtractBaseName(FileName.c_str(), true).c_str(), stringpool);
|
||||
Lumps[0].LumpNameSetup(ExtractBaseName(File_Name, true).c_str(), stringpool);
|
||||
Lumps[0].Owner = this;
|
||||
Lumps[0].Position = 0;
|
||||
Lumps[0].LumpSize = (int)Reader.GetLength();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue