From a55429f6b8e228030ae2b7557890da78fff2605d Mon Sep 17 00:00:00 2001 From: ceski <56656010+ceski-1@users.noreply.github.com> Date: Thu, 10 Oct 2024 08:18:53 -0700 Subject: [PATCH] Don't stretch vertically scrolling skies --- src/r_plane.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/r_plane.c b/src/r_plane.c index fe85d3f8..4dfab96c 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -522,11 +522,10 @@ static void do_draw_mbf_sky(visplane_t *pl) dc_texheight = textureheight[texture] >> FRACBITS; // killough dc_iscale = skyiscale; - // [FG] stretch short skies - boolean stretch = (stretchsky && dc_texheight < 200); - if (stretch || !vertically_scrolling) + if (!vertically_scrolling) { - if (stretch) + // [FG] stretch short skies + if (stretchsky && dc_texheight < 200) { dc_iscale = dc_iscale * dc_texheight / SKYSTRETCH_HEIGHT; dc_texturemid = dc_texturemid * dc_texheight / SKYSTRETCH_HEIGHT;