mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix visual not matching exact steep range
This commit is contained in:
parent
3f66a8e72f
commit
1530c15db7
1 changed files with 1 additions and 1 deletions
|
|
@ -3996,7 +3996,7 @@ void K_UpdateStumbleIndicator(player_t *player)
|
||||||
|
|
||||||
steepRange = ANGLE_90 - steepVal;
|
steepRange = ANGLE_90 - steepVal;
|
||||||
delta = max(0, abs(delta) - ((signed)steepVal));
|
delta = max(0, abs(delta) - ((signed)steepVal));
|
||||||
trans = ((FixedDiv(AngleFixed(delta), AngleFixed(steepRange)) * (NUMTRANSMAPS+1)) + (FRACUNIT/2)) / FRACUNIT;
|
trans = ((FixedDiv(AngleFixed(delta), AngleFixed(steepRange)) * NUMTRANSMAPS) + (FRACUNIT/2)) / FRACUNIT;
|
||||||
|
|
||||||
if (trans < 0)
|
if (trans < 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue