Cancel ballhog charge when hit

This commit is contained in:
AJ Martinez 2024-03-07 20:43:47 -07:00
parent bd8f1fb6bb
commit e7c8f7044a

View file

@ -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)