From 34d6f06e9fe23ecbd0b1f6e0b62e6197794f1b04 Mon Sep 17 00:00:00 2001 From: GreYFoXGTi Date: Fri, 1 Oct 2010 00:40:32 +0200 Subject: [PATCH] Updated the time string Signed-off-by: GreYFoXGTi --- src/game/server/entities/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 3529a8b21..8a9c93c0e 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -744,7 +744,7 @@ void CCharacter::Tick() else { if(m_BroadTime) - str_format(aBuftime, sizeof(aBuftime), "%dm %ds", IntTime/60, IntTime%60); + str_format(aBuftime, sizeof(aBuftime), "%s%d:%s%d", ((IntTime/60) < 10)?"0":"", IntTime/60, ((IntTime%60) < 10)?"0":"", IntTime%60); else str_format(aBuftime, sizeof(aBuftime), "");