Updated the time string

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
GreYFoXGTi 2010-10-01 00:40:32 +02:00
parent 324424f7da
commit 34d6f06e9f

View file

@ -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), "");