Battle: any death is an elimination while Overtime Barrier is tangible

This commit is contained in:
James R 2024-01-16 23:11:32 -08:00
parent 91fdba650f
commit 9e4b716ed1

View file

@ -1790,6 +1790,11 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
if (gametyperules & GTR_BUMPERS)
{
if (battleovertime.enabled >= 10*TICRATE) // Overtime Barrier is armed
{
target->player->pflags |= PF_ELIMINATED;
}
K_CheckBumpers();
if (target->player->roundscore > 1)