From 9f698a877c0243cb05fd2595b2635b425374a90a Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 23 May 2011 18:56:58 +0200 Subject: [PATCH] Put msgs with the same id in the same array position only when the msg is still showing --- 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 4b68d37a5..81607939c 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4352,7 +4352,7 @@ void centerprint(string strMessage) { if (j == CENTERPRINT_MAX_MSGS) j = 0; - if (new_id && new_id == centerprint_msgID[j]) + if (new_id && new_id == centerprint_msgID[j] && centerprint_time[j] + autocvar_hud_panel_centerprint_time >= time) { if(centerprint_messages[j]) strunzone(centerprint_messages[j]); -- 2.39.2