]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 9153b855da45c510d7c88fcb561b8fb205ea0bac..f8540d3416ae26bbffb26d54838ecde3faece923 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)