mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Simplify bumper death code flow
This commit is contained in:
parent
01227814b9
commit
ea4890b4b3
1 changed files with 2 additions and 5 deletions
|
|
@ -4172,12 +4172,9 @@ void K_HandleBumperChanges(player_t *player, UINT8 prevBumpers)
|
|||
if (battlecapsules || bossinfo.valid)
|
||||
{
|
||||
player->pflags |= (PF_NOCONTEST|PF_ELIMINATED);
|
||||
P_DamageMobj(player->mo, NULL, NULL, 1, DMG_TIMEOVER);
|
||||
}
|
||||
else
|
||||
{
|
||||
P_KillMobj(player->mo, NULL, NULL, DMG_NORMAL);
|
||||
}
|
||||
|
||||
P_KillMobj(player->mo, NULL, NULL, DMG_NORMAL);
|
||||
}
|
||||
|
||||
K_CalculateBattleWanted();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue