mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Experimental: only transfer assist while holding A
This commit is contained in:
parent
ba22dabfe2
commit
c294785528
1 changed files with 2 additions and 1 deletions
|
|
@ -9051,7 +9051,8 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
|
||||
if (player->transfer)
|
||||
{
|
||||
if ((abs(player->mo->momz) < (2*abs(player->transfer)/4)) || (player->mo->momz > 0) != (player->transfer > 0))
|
||||
boolean eligible = (abs(player->mo->momz) < (2*abs(player->transfer)/4)) || (player->mo->momz > 0) != (player->transfer > 0);
|
||||
if ((player->cmd.buttons & BT_ACCELERATE) && eligible)
|
||||
{
|
||||
fixed_t fuckfactor = FRACUNIT;
|
||||
fixed_t transfergravity = 10*FRACUNIT/100;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue