mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Kill players who die at lethal threshold
This commit is contained in:
parent
b746b1a0e4
commit
c1a80e4b1b
1 changed files with 7 additions and 1 deletions
|
|
@ -176,6 +176,12 @@ void K_DoIngameRespawn(player_t *player)
|
||||||
K_DoFault(player);
|
K_DoFault(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (player->rings <= -20)
|
||||||
|
{
|
||||||
|
P_KillMobj(player->mo, NULL, NULL, DMG_INSTAKILL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
player->ringboost = 0;
|
player->ringboost = 0;
|
||||||
player->driftboost = player->strongdriftboost = 0;
|
player->driftboost = player->strongdriftboost = 0;
|
||||||
player->gateBoost = 0;
|
player->gateBoost = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue