mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Reduce the number of distinct roll angles
This commit is contained in:
parent
964458e981
commit
b5b902e064
1 changed files with 1 additions and 1 deletions
|
|
@ -599,7 +599,7 @@ void R_CheckViewMorph(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rollangle >>= ANGLETOFINESHIFT;
|
rollangle >>= ANGLETOFINESHIFT;
|
||||||
rollangle = (((rollangle+1)/2)*2) & FINEMASK; // Limit the distinct number of angles to reduce recalcs from angles changing a lot.
|
rollangle = ((rollangle+2) & ~3) & FINEMASK; // Limit the distinct number of angles to reduce recalcs from angles changing a lot.
|
||||||
|
|
||||||
#ifdef WOUGHMP_WOUGHMP
|
#ifdef WOUGHMP_WOUGHMP
|
||||||
fisheye &= ~0x7FF; // Same
|
fisheye &= ~0x7FF; // Same
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue