let 'forcenoskystretch' also apply to sky mode 2

This commit is contained in:
Magnus Norddahl 2017-01-13 13:23:00 +01:00
parent 1d941c9839
commit 5d9cc6a706

View file

@ -394,7 +394,7 @@ namespace swrenderer
void RenderSkyPlane::DrawSky(visplane_t *pl) void RenderSkyPlane::DrawSky(visplane_t *pl)
{ {
if (r_skymode == 2) if (r_skymode == 2 && !(level.flags & LEVEL_FORCETILEDSKY))
{ {
DrawCapSky(pl); DrawCapSky(pl);
return; return;