mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Make horizontal versus vertical momentum more strict when deciding water-run
This commit is contained in:
parent
58446441fe
commit
ce366099b0
1 changed files with 1 additions and 1 deletions
|
|
@ -2955,7 +2955,7 @@ boolean P_CanRunOnWater(player_t *player, ffloor_t *rover)
|
||||||
return
|
return
|
||||||
clip > -(player->mo->height / 2) &&
|
clip > -(player->mo->height / 2) &&
|
||||||
span > player->mo->height &&
|
span > player->mo->height &&
|
||||||
player->speed / 3 > abs(player->mo->momz) &&
|
player->speed / 5 > abs(player->mo->momz) &&
|
||||||
player->speed > K_GetKartSpeed(player, false) &&
|
player->speed > K_GetKartSpeed(player, false) &&
|
||||||
K_WaterRun(player) &&
|
K_WaterRun(player) &&
|
||||||
(rover->flags & FF_SWIMMABLE);
|
(rover->flags & FF_SWIMMABLE);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue