mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
P_DoPlayerExit: abuse K_MakeObjectReappear to vanish player if they win a Sealed Star
This commit is contained in:
parent
4588943352
commit
1a78e55f4c
1 changed files with 5 additions and 0 deletions
|
|
@ -1332,6 +1332,11 @@ void P_DoPlayerExit(player_t *player, pflags_t flags)
|
||||||
{
|
{
|
||||||
G_BeginLevelExit();
|
G_BeginLevelExit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (specialstageinfo.valid == true && losing == false && P_MobjWasRemoved(player->mo) == false)
|
||||||
|
{
|
||||||
|
K_MakeObjectReappear(player->mo);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
K_InitPlayerTally(player);
|
K_InitPlayerTally(player);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue