mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_KillPlayer: In special stages, falling off the stage means immediate no contest and life loss.
This commit is contained in:
parent
437944927e
commit
61de5367d7
1 changed files with 6 additions and 0 deletions
|
|
@ -1901,6 +1901,12 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source,
|
||||||
{
|
{
|
||||||
(void)source;
|
(void)source;
|
||||||
|
|
||||||
|
if (!player->exiting && specialstageinfo.valid == true)
|
||||||
|
{
|
||||||
|
player->pflags |= PF_NOCONTEST;
|
||||||
|
P_DoPlayerExit(player);
|
||||||
|
}
|
||||||
|
|
||||||
if (player->exiting)
|
if (player->exiting)
|
||||||
{
|
{
|
||||||
player->mo->destscale = 1;
|
player->mo->destscale = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue