mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Support for negative scroll speeds on title screen
This commit is contained in:
parent
b864e45487
commit
b13a9ad9d1
1 changed files with 2 additions and 1 deletions
|
|
@ -227,7 +227,8 @@ static void F_SkyScroll(INT32 scrollspeed)
|
|||
|
||||
pat = W_CachePatchName("TITLESKY", PU_CACHE);
|
||||
|
||||
animtimer = ((finalecount*scrollspeed)/16) % SHORT(pat->width);
|
||||
fakedwidth = SHORT(pat->width);
|
||||
animtimer = ((finalecount*scrollspeed)/16 + fakedwidth) % fakedwidth;
|
||||
|
||||
fakedwidth = vid.width / vid.dupx;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue