- Fixed: The first texture in a TEXTURE1 lump, although invalid when used

elsewhere, must be usable as sky (see Requiem.wad's SKY3.)


SVN r993 (trunk)
This commit is contained in:
Christoph Oelckers 2008-05-23 14:04:16 +00:00
commit 4434e322e2
6 changed files with 19 additions and 6 deletions

View file

@ -807,7 +807,7 @@ void FTextureManager::AddTexturesLump (const void *lumpdata, int lumpsize, int d
FMultiPatchTexture *tex = new FMultiPatchTexture ((const BYTE *)maptex + offset, patchlookup, numpatches, isStrife, deflumpnum);
if (i == 1 && texture1)
{
tex->UseType = FTexture::TEX_Null;
tex->UseType = FTexture::TEX_FirstDefined;
}
TexMan.AddTexture (tex);
StartScreen->Progress();