mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 13:01:56 +00:00
Line up the center of skies with horizon line
This commit is contained in:
parent
99a1e47487
commit
f017f4626f
1 changed files with 4 additions and 0 deletions
|
|
@ -64,6 +64,10 @@ void R_SetupSkyDraw(void)
|
||||||
// the horizon line in a 256x128 sky texture
|
// the horizon line in a 256x128 sky texture
|
||||||
skytexturemid = (textures[skytexture]->height/2)<<FRACBITS;
|
skytexturemid = (textures[skytexture]->height/2)<<FRACBITS;
|
||||||
|
|
||||||
|
// Sal: Add arbritrary offset that makes it
|
||||||
|
// line up with the horizon line special
|
||||||
|
skytexturemid += (16 << FRACBITS);
|
||||||
|
|
||||||
R_SetSkyScale();
|
R_SetSkyScale();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue