mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-30 11:42:48 +00:00
Merge branch 'death-finishline-TWO' into 'master'
Prevent corpses distance updating Closes ring-racers#410 See merge request kart-krew-dev/ring-racers-internal!2989
This commit is contained in:
commit
9f63edce9b
1 changed files with 1 additions and 1 deletions
|
|
@ -12401,7 +12401,7 @@ static boolean K_SetPlayerNextWaypoint(player_t *player)
|
|||
--------------------------------------------------*/
|
||||
static void K_UpdateDistanceFromFinishLine(player_t *const player)
|
||||
{
|
||||
if ((player != NULL) && (player->mo != NULL))
|
||||
if ((player != NULL) && (player->mo != NULL) && (player->mo->health > 0))
|
||||
{
|
||||
waypoint_t *finishline = K_GetFinishLineWaypoint();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue