mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Prevent corpses distance updating
This commit is contained in:
parent
c6bcc403ba
commit
64f7d272c3
1 changed files with 1 additions and 1 deletions
|
|
@ -12402,7 +12402,7 @@ static boolean K_SetPlayerNextWaypoint(player_t *player)
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
static void K_UpdateDistanceFromFinishLine(player_t *const 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();
|
waypoint_t *finishline = K_GetFinishLineWaypoint();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue