Line up countdown notification in the infomessages panel (shown only when spectating)
authorterencehill <piuntn@gmail.com>
Wed, 27 Jan 2016 18:08:30 +0000 (19:08 +0100)
committerGitLab <gitlab@gitlab.com>
Sat, 30 Jan 2016 12:27:27 +0000 (12:27 +0000)
qcsrc/client/hud/panel/infomessages.qc

index 9153b85..f8540d3 100644 (file)
@@ -101,8 +101,7 @@ void HUD_InfoMessages()
                                //we need to ceil, otherwise the countdown would be off by .5 when using round()
                                countdown = ceil(STAT(GAMESTARTTIME) - time);
                                s = sprintf(_("^1Game starts in ^3%d^1 seconds"), countdown);
-                               drawcolorcodedstring(o, s, fontsize, a, DRAWFLAG_NORMAL);
-                               o.y += fontsize.y;
+                               drawInfoMessage(s);
                        }
                }
                if(warmup_stage && !intermission)