Merge branch 'fix-bump-flashing' into 'master'

Fix players flashing after bump

See merge request KartKrew/Kart!1174
This commit is contained in:
Sal 2023-04-17 04:09:01 +00:00
commit 3e6c1235c9

View file

@ -7726,7 +7726,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
}
// Make ABSOLUTELY SURE that your flashing tics don't get set WHILE you're still in hit animations.
if (player->spinouttimer != 0 || player->wipeoutslow != 0)
if (player->spinouttimer != 0)
{
if (( player->spinouttype & KSPIN_IFRAMES ) == 0)
player->flashing = 0;