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

View file

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