- fixed: The sky baseline position needs to take texture scaling into account.
SVN r1982 (trunk)
This commit is contained in:
parent
6310f32843
commit
6161702703
4 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue