From 06b5cd99c60b3ccb8f6404633e1e494fb2c6a2b5 Mon Sep 17 00:00:00 2001
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Date: Tue, 19 Apr 2011 18:46:06 +0300
Subject: [PATCH] Do show 0 minutes when showing remaining time

---
 data/qcsrc/client/sbar.qc | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc
index d856adab..b6881b45 100644
--- a/data/qcsrc/client/sbar.qc
+++ b/data/qcsrc/client/sbar.qc
@@ -1944,9 +1944,7 @@ void Sbar_Timer()
 	} else {
 		minutes = minutesLeft;
 		seconds = secondsLeft;
-		if (minutes == 0)
-			bgpos_x = topright_x - (46 + 17 + 12) * scale;
-		else if (minutes < 10) // nudge the timer background left if more digits are drawn
+		if (minutes < 10) // nudge the timer background left if more digits are drawn
 			bgpos_x = topright_x - (54 + 17 + 12) * scale;
 		else if (minutes < 100)
 			bgpos_x = topright_x - (62 + 17 + 12) * scale;
@@ -1969,9 +1967,7 @@ void Sbar_Timer()
 	}
 
 	drawpic(topright - ('19 0 0' + '3 0 0' - '0 2 0'), "gfx/hud/sb_time", '22 22 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);
-	if(minutesLeft >= 1 || cvar("sbar_increment_maptime") || timelimit == 0 || warmup_stage) {
-		finaltime = strcat(ftos(minutes), ":");
-	}
+	finaltime = strcat(ftos(minutes), ":");
 	if(seconds < 10)
 		finaltime = strcat(finaltime, "0", ftos(seconds));
 	else
-- 
2.39.5