From: Samual Lenks Date: Sat, 23 Feb 2013 19:54:50 +0000 (-0500) Subject: Continue chatbox mask through newline notifications too X-Git-Tag: xonotic-v0.7.0~62^2~23^2~160 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=47113c6b83a8013110bf74b966328c6f680875bc;p=xonotic%2Fxonotic-data.pk3dir.git Continue chatbox mask through newline notifications too --- diff --git a/qcsrc/common/notifications.qh b/qcsrc/common/notifications.qh index 658faea37..2469c3fe3 100644 --- a/qcsrc/common/notifications.qh +++ b/qcsrc/common/notifications.qh @@ -747,7 +747,7 @@ string Process_Notif_Line(float check_newline, float chat, string input, string #ifdef CSQC if((chat && autocvar_notification_allow_chatboxprint) || (autocvar_notification_allow_chatboxprint == 2)) - { input = strcat("\{3}", input); } + { input = strcat("\{3}", strreplace("\n", "\{3}\n", input)); } #endif if(substring(input, (strlen(input) - 1), 1) != "\n") {