- Fixed capped tall skies not working (Heretic and Hexen).
- Fixed sky stretching for the new freelook limit.
This commit is contained in:
parent
bfa8e25100
commit
525d678219
3 changed files with 13 additions and 14 deletions
|
|
@ -104,14 +104,10 @@ void InitSkyMap(FLevelLocals *Level)
|
|||
// of the texture is at the top of the screen when looking fully up.
|
||||
skyheight = skytex1->GetDisplayHeight();
|
||||
|
||||
if (skyheight >= 128 && skyheight < 200)
|
||||
{
|
||||
Level->skystretch = (r_skymode == 1
|
||||
&& skyheight >= 128
|
||||
&& Level->IsFreelookAllowed()
|
||||
&& !(Level->flags & LEVEL_FORCETILEDSKY)) ? 1 : 0;
|
||||
}
|
||||
else Level->skystretch = false;
|
||||
Level->skystretch = (r_skymode == 1
|
||||
&& skyheight >= 128 && skyheight < 310
|
||||
&& Level->IsFreelookAllowed()
|
||||
&& !(Level->flags & LEVEL_FORCETILEDSKY)) ? 1 : 0;
|
||||
}
|
||||
|
||||
void R_InitSkyMap()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue