mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fuck crazy turning
This commit is contained in:
parent
d05e781467
commit
4a0d0f224f
1 changed files with 3 additions and 6 deletions
|
|
@ -7565,10 +7565,12 @@ static INT16 K_GetKartDriftValue(player_t *player, fixed_t countersteer)
|
|||
basedrift += (basedrift / greasetics) * player->tiregrease;
|
||||
}
|
||||
|
||||
if (player->mo->eflags & (MFE_UNDERWATER|MFE_TOUCHWATER))
|
||||
#if 0
|
||||
if (player->mo->eflags & MFE_UNDERWATER)
|
||||
{
|
||||
countersteer = FixedMul(countersteer, 3*FRACUNIT/2);
|
||||
}
|
||||
#endif
|
||||
|
||||
return basedrift + (FixedMul(driftadjust * FRACUNIT, countersteer) / FRACUNIT);
|
||||
}
|
||||
|
|
@ -7672,11 +7674,6 @@ INT16 K_GetKartTurnValue(player_t *player, INT16 turnvalue)
|
|||
turnfixed = FixedMul(turnfixed, FRACUNIT + player->handleboost);
|
||||
}
|
||||
|
||||
if (player->mo->eflags & (MFE_UNDERWATER|MFE_TOUCHWATER))
|
||||
{
|
||||
turnfixed = FixedMul(turnfixed, 3*FRACUNIT/2);
|
||||
}
|
||||
|
||||
// Weight has a small effect on turning
|
||||
turnfixed = FixedMul(turnfixed, weightadjust);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue