Fix SkyViewpoint skyboxes not being rendered

This commit is contained in:
Magnus Norddahl 2016-10-14 11:24:03 +02:00
parent 97107b6b6d
commit f05e2337c2
1 changed files with 1 additions and 1 deletions

View File

@ -1314,7 +1314,7 @@ void R_DrawPortals ()
vissprite_p = firstvissprite;
visplaneStack.Pop (pl);
if (pl->Alpha > 0)
if (pl->Alpha > 0 && pl->picnum != skyflatnum)
{
R_DrawSinglePlane (pl, pl->Alpha, pl->Additive, true);
}