oops, make sure to only quake after hitlag

This commit is contained in:
Ashnal 2025-06-25 19:47:58 -04:00
parent e5c981d4ba
commit e4c36130e5

View file

@ -10051,11 +10051,11 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
player->ringboost /= 3;
}
if (player->bailquake) // quake as soon as we leave hitlag
if (player->bailquake && !player->mo->hitlag) // quake as soon as we leave hitlag
{
P_StartQuakeFromMobj(7, 50 * player->mo->scale, 2048 * player->mo->scale, player->mo);
player->bailquake = false;
}
}
// The precise ordering of start-of-level made me want to cut my head off,
// so let's try this instead. Whatever!