Fix deathpits in Tutorial Mode

Previously excepted via battleprisons exclusively, now uses K_Cooperative to capture this and Versus as well
This commit is contained in:
toaster 2024-02-26 19:44:43 +00:00
parent 61db3426a3
commit d568091cb7

View file

@ -2509,7 +2509,7 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source,
P_DamageMobj(player->mo, players[player->pitblame].mo, players[player->pitblame].mo, 1, DMG_KARMA);
player->pitblame = -1;
}
else if (player->mo->health > 1 || battleprisons)
else if (player->mo->health > 1 || K_Cooperative())
{
player->mo->health--;
}