From 8a322f7700893e32e4404d4d6f085846cad6a92f Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 12 Feb 2017 13:33:21 +1000 Subject: [PATCH] Apply color replacement to notification arguments --- qcsrc/common/notifications/all.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/common/notifications/all.qc b/qcsrc/common/notifications/all.qc index e312aca85..d39c9f86e 100644 --- a/qcsrc/common/notifications/all.qc +++ b/qcsrc/common/notifications/all.qc @@ -1208,10 +1208,10 @@ void Local_Notification(MSG net_type, Notification net_name, ...count) return; } - string s1 = ((notif.nent_stringcount > 0) ? ...(0, string) : ""); - string s2 = ((notif.nent_stringcount > 1) ? ...(1, string) : ""); - string s3 = ((notif.nent_stringcount > 2) ? ...(2, string) : ""); - string s4 = ((notif.nent_stringcount > 3) ? ...(3, string) : ""); + string s1 = CCR((notif.nent_stringcount > 0) ? ...(0, string) : ""); + string s2 = CCR((notif.nent_stringcount > 1) ? ...(1, string) : ""); + string s3 = CCR((notif.nent_stringcount > 2) ? ...(2, string) : ""); + string s4 = CCR((notif.nent_stringcount > 3) ? ...(3, string) : ""); float f1 = ((notif.nent_floatcount > 0) ? ...((notif.nent_stringcount + 0), float) : 0); float f2 = ((notif.nent_floatcount > 1) ? ...((notif.nent_stringcount + 1), float) : 0); float f3 = ((notif.nent_floatcount > 2) ? ...((notif.nent_stringcount + 2), float) : 0); -- 2.39.2