From f3de162f7ad4fa3cdc6dda9e58eb6309188e12fc Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 17 Jul 2017 02:39:25 +1000 Subject: [PATCH] Don't try to draw only personal time if next best is invalid --- qcsrc/client/hud/panel/racetimer.qc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qcsrc/client/hud/panel/racetimer.qc b/qcsrc/client/hud/panel/racetimer.qc index 7ad7f943d..c091fa712 100644 --- a/qcsrc/client/hud/panel/racetimer.qc +++ b/qcsrc/client/hud/panel/racetimer.qc @@ -179,11 +179,6 @@ void HUD_RaceTimer () float a2 = bound(0, 2 - ((race_laptime + TIME_DECODE(race_mybesttime)) - (time + TIME_DECODE(race_penaltyaccumulator))), 1); if(a > 0) // next one? s = MakeRaceString(race_nextcheckpoint, (time + TIME_DECODE(race_penaltyaccumulator)) - race_laptime, TIME_DECODE(race_nextbesttime), ((a2 > 0) ? TIME_DECODE(race_mybesttime) : 0), 0, race_nextbestname); - else if(a2 > 0) - { - a = a2; - s = MakeRaceString(race_nextcheckpoint, (time + TIME_DECODE(race_penaltyaccumulator)) - race_laptime, TIME_DECODE(race_mybesttime), 0, 0, ""); - } } } } -- 2.39.2