From 791ea21ea796887818b67b0ccbbeb99d865b2b11 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 5 Jul 2011 22:55:45 +0200 Subject: [PATCH] Fade away the msgs keeping the strings centered --- qcsrc/client/hud.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 8fc1a9bd2..03f7fd9e5 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4597,7 +4597,7 @@ void HUD_CenterPrint (void) { if (align) pos_x = panel_pos_x + (panel_size_x - stringwidth(ts, TRUE, fontsize)) * align; - drawcolorcodedstring(pos + '0 1 0' * 1.5 * (1 - sz) * fontsize_y, ts, fontsize, a * panel_fg_alpha, DRAWFLAG_NORMAL); + drawcolorcodedstring(pos + eY * 0.5 * (1 - sz) * fontsize_y, ts, fontsize, a * panel_fg_alpha, DRAWFLAG_NORMAL); pos_y += fontsize_y; } else -- 2.39.2