mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 04:02:37 +00:00
Ice physics when touching/underwater
This commit is contained in:
parent
347b9bfc5c
commit
2d7113ac2c
1 changed files with 3 additions and 0 deletions
|
|
@ -7900,6 +7900,9 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
if (G_BattleGametype() && player->kartstuff[k_bumper] <= 0)
|
||||
player->mo->friction += 1228;
|
||||
|
||||
if (player->mo->eflags & (MFE_UNDERWATER|MFE_TOUCHWATER))
|
||||
player->mo->friction += 614;
|
||||
|
||||
// Wipeout slowdown
|
||||
if (player->kartstuff[k_spinouttimer] && player->kartstuff[k_wipeoutslow])
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue