From: terencehill Date: Wed, 27 Jan 2016 18:08:30 +0000 (+0100) Subject: Line up countdown notification in the infomessages panel (shown only when spectating) X-Git-Tag: xonotic-v0.8.2~1208^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c72c4e319b9f25bca190a21dff57b66434a55456;p=xonotic%2Fxonotic-data.pk3dir.git Line up countdown notification in the infomessages panel (shown only when spectating) --- diff --git a/qcsrc/client/hud/panel/infomessages.qc b/qcsrc/client/hud/panel/infomessages.qc index 9153b855d..f8540d341 100644 --- a/qcsrc/client/hud/panel/infomessages.qc +++ b/qcsrc/client/hud/panel/infomessages.qc @@ -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)