Fix SkyViewpoint skyboxes not being rendered

This commit is contained in:
Magnus Norddahl 2016-10-14 11:24:03 +02:00 committed by Christoph Oelckers
parent d6b3cbe0c9
commit 657abb374b

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);
} }