Make this not a floating point operation

This commit is contained in:
yamamama 2026-03-16 12:16:24 -04:00
parent a8ab3baf2c
commit 422b07a472

View file

@ -5498,7 +5498,7 @@ void K_RemoveBubbleHealth(player_t *player, INT16 sub)
if (player->bubbleblowup)
{
// 1.5 seconds of i-frames for better gamefeel on shatters
player->flashing = (UINT32)((float)(TICRATE) * 1.5f);
player->flashing = (3 * TICRATE / 2);
}
K_PopPlayerShield(player);