From 83320626e5f8df9ab838a5fe3453d632baae8def Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 26 Jan 2013 03:21:09 +0000 Subject: [PATCH] - Use "Map time color" for single maps, whether in a hub or not. Only use "Hub time color" for hub times. SVN r4049 (trunk) --- src/g_shared/shared_hud.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/g_shared/shared_hud.cpp b/src/g_shared/shared_hud.cpp index 5bdca34e7..051aae14c 100644 --- a/src/g_shared/shared_hud.cpp +++ b/src/g_shared/shared_hud.cpp @@ -899,18 +899,18 @@ void DrawHUD() if (am_showtime) { - seconds = level.time /TICRATE; - mysnprintf(printstr, countof(printstr), "%02i:%02i:%02i", seconds/3600, (seconds%3600)/60, seconds%60); - DrawHudText(SmallFont, hudcolor_time, printstr, hudwidth-length, bottom, FRACUNIT); - bottom -= fonth; - - // Single level time for hubs if (level.clusterflags&CLUSTER_HUB) { - seconds= level.maptime /TICRATE; + seconds = level.time /TICRATE; mysnprintf(printstr, countof(printstr), "%02i:%02i:%02i", seconds/3600, (seconds%3600)/60, seconds%60); - DrawHudText(SmallFont, hudcolor_ltim, printstr, hudwidth-length, bottom, FRACUNIT); + DrawHudText(SmallFont, hudcolor_time, printstr, hudwidth-length, bottom, FRACUNIT); + bottom -= fonth; } + + // Single level time for hubs + seconds= level.maptime /TICRATE; + mysnprintf(printstr, countof(printstr), "%02i:%02i:%02i", seconds/3600, (seconds%3600)/60, seconds%60); + DrawHudText(SmallFont, hudcolor_ltim, printstr, hudwidth-length, bottom, FRACUNIT); } ST_FormatMapName(mapname);