Let last-place explosion kill respawning player

This commit is contained in:
James R 2024-01-11 19:35:54 -08:00
parent 344d8d9642
commit 6c8c0e7435

View file

@ -2636,7 +2636,8 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source,
}
else
{
if (player->respawn.state != RESPAWNST_NONE)
// DMG_TIMEOVER: player explosion
if (player->respawn.state != RESPAWNST_NONE && type != DMG_TIMEOVER)
{
K_DoInstashield(player);
return false;