mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +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…
Reference in a new issue