- store longName in a std::string and use std::vector for FileInfo
TArray cannot handle std::string so this must both be changed together.
This commit is contained in:
parent
8a5d3c096b
commit
ca1d7fd539
3 changed files with 102 additions and 91 deletions
|
|
@ -679,15 +679,15 @@ void FTextureManager::AddHiresTextures (int wadnum)
|
|||
|
||||
void FTextureManager::LoadTextureDefs(int wadnum, const char *lumpname, FMultipatchTextureBuilder &build)
|
||||
{
|
||||
int remapLump, lastLump;
|
||||
int texLump, lastLump;
|
||||
|
||||
lastLump = 0;
|
||||
|
||||
while ((remapLump = fileSystem.FindLump(lumpname, &lastLump)) != -1)
|
||||
while ((texLump = fileSystem.FindLump(lumpname, &lastLump)) != -1)
|
||||
{
|
||||
if (fileSystem.GetFileContainer(remapLump) == wadnum)
|
||||
if (fileSystem.GetFileContainer(texLump) == wadnum)
|
||||
{
|
||||
ParseTextureDef(remapLump, build);
|
||||
ParseTextureDef(texLump, build);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue