- fixed: The sky baseline position needs to take texture scaling into account.

SVN r1982 (trunk)
This commit is contained in:
Christoph Oelckers 2009-11-15 08:11:14 +00:00
commit 6161702703
4 changed files with 6 additions and 2 deletions

View file

@ -1313,7 +1313,7 @@ void R_DrawSkyPlane (visplane_t *pl)
}
frontskytex = TexMan(s->GetTexture(pos));
if (frontskytex->UseType == FTexture::TEX_Null)
if (frontskytex == NULL || frontskytex->UseType == FTexture::TEX_Null)
{ // [RH] The blank texture: Use normal sky instead.
goto sky1;
}