mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'ballhog-fixup' into 'master'
Cancel ballhog charge when hit See merge request KartKrew/Kart!2041
This commit is contained in:
commit
266e36928b
1 changed files with 3 additions and 0 deletions
|
|
@ -9048,6 +9048,9 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
|
||||
if (player->spinouttimer || player->tumbleBounces)
|
||||
{
|
||||
if (player->ballhogcharge)
|
||||
player->ballhogcharge = 0;
|
||||
|
||||
if (player->progressivethrust < MAXCOMBOTIME)
|
||||
player->progressivethrust++;
|
||||
if (player->incontrol > 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue