mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Kill players that fail loops
This commit is contained in:
parent
1cdb2be7aa
commit
f76a958c53
1 changed files with 6 additions and 2 deletions
|
|
@ -177,11 +177,15 @@ boolean P_PlayerOrbit(player_t *player)
|
|||
step = left;
|
||||
}
|
||||
|
||||
// If player slows down by too much, throw them out of
|
||||
// the loop in a tumble.
|
||||
// If player slows down by too much, throw them
|
||||
// out of the loop and reset them.
|
||||
// (markedfordeath will kill the player on their
|
||||
// first ground contact!)
|
||||
if (player->speed < player->mo->scale)
|
||||
{
|
||||
P_HaltPlayerOrbit(player);
|
||||
player->markedfordeath = true;
|
||||
K_PlayPainSound(player->mo, NULL);
|
||||
K_StumblePlayer(player);
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue