- fixed: HI_START/HI_END must be checked after parsing the TEXTURES lump, not before it.

SVN r2297 (trunk)
This commit is contained in:
Christoph Oelckers 2010-04-21 17:39:52 +00:00
commit 82af1640fd
2 changed files with 7 additions and 4 deletions

View file

@ -822,10 +822,13 @@ void FTextureManager::AddTexturesForWad(int wadnum)
}
}
// Seventh step: Check for hires replacements.
AddHiresTextures(wadnum);
// Check for text based texture definitions
LoadTextureDefs(wadnum, "TEXTURES");
LoadTextureDefs(wadnum, "HIRESTEX");
// Seventh step: Check for hires replacements.
AddHiresTextures(wadnum);
SortTexturesByType(firsttexture, Textures.Size());
}