mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-08 04:06:25 +00:00
Use defined type for wavedash charge calcs
This commit is contained in:
parent
3187294deb
commit
8c08f759ac
1 changed files with 1 additions and 1 deletions
|
|
@ -9471,7 +9471,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
if (!keepsliptide)
|
||||
{
|
||||
// Give charge proportional to your angle. Sharp turns are rewarding, slow analog slides are not—remember, this is giving back the speed you gave up.
|
||||
int addCharge = FixedInt(
|
||||
UINT16 addCharge = FixedInt(
|
||||
FixedMul(10*FRACUNIT,
|
||||
FixedDiv(abs(player->steering)*FRACUNIT, (9*KART_FULLTURN/10)*FRACUNIT)
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue