mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
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:
parent
61db3426a3
commit
d568091cb7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
P_DamageMobj(player->mo, players[player->pitblame].mo, players[player->pitblame].mo, 1, DMG_KARMA);
|
||||||
player->pitblame = -1;
|
player->pitblame = -1;
|
||||||
}
|
}
|
||||||
else if (player->mo->health > 1 || battleprisons)
|
else if (player->mo->health > 1 || K_Cooperative())
|
||||||
{
|
{
|
||||||
player->mo->health--;
|
player->mo->health--;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue