Don't die from Ring Shooter at -20

This commit is contained in:
Antonio Martinez 2025-09-25 21:58:45 -04:00
parent c1a80e4b1b
commit 48e1ed5779

View file

@ -176,7 +176,7 @@ void K_DoIngameRespawn(player_t *player)
K_DoFault(player);
}
if (player->rings <= -20)
if (player->rings <= -20 && (!player->ringShooter || P_MobjWasRemoved(player->ringShooter)))
{
P_KillMobj(player->mo, NULL, NULL, DMG_INSTAKILL);
return;