- Fixed stretching for 256 and 240 pixels tall skies in software.

This commit is contained in:
drfrag 2019-11-02 21:34:26 +01:00 committed by Christoph Oelckers
commit bd90a768f5
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@ void InitSkyMap(FLevelLocals *Level)
skyheight = skytex1->GetDisplayHeight();
Level->skystretch = (r_skymode == 1
&& skyheight >= 128 && skyheight < 310
&& skyheight >= 128 && skyheight <= 256
&& Level->IsFreelookAllowed()
&& !(Level->flags & LEVEL_FORCETILEDSKY)) ? 1 : 0;
}