From: Samual Lenks Date: Tue, 12 Feb 2013 09:50:04 +0000 (-0500) Subject: Also update this other backtrace check too X-Git-Tag: xonotic-v0.7.0~62^2~23^2~224 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4be4198a5fa3f68aa89adddc1b0a5db919e52853;p=xonotic%2Fxonotic-data.pk3dir.git Also update this other backtrace check too --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 1055fc807..ebaf815e2 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -233,11 +233,11 @@ void Local_Notification(float net_type, float net_name, ...count) s1, s2, s3, s4, f1, f2, f3, f4)); if((stringcount + floatcount) > count) - { backtrace(sprintf("Not enough arguments for Local_Notification! stringcount(%d) + floatcount(%d) > count(%d) \ - \nCheck the notification definition and function call for accuracy...?\n", stringcount, floatcount, count)); return; } + { backtrace(sprintf(strcat("Not enough arguments for Send_Notification! stringcount(%d) + floatcount(%d) > count(%d)\n", + "Check the notification definition and function call for accuracy...?\n"), stringcount, floatcount, count)); return; } else if((stringcount + floatcount) < count) - { backtrace(sprintf("Too many arguments for Local_Notification! stringcount(%d) + floatcount(%d) < count(%d) \ - \nCheck the notification definition and function call for accuracy...?\n", stringcount, floatcount, count)); return; } + { backtrace(sprintf(strcat("Too many arguments for Send_Notification! stringcount(%d) + floatcount(%d) < count(%d)\n", + "Check the notification definition and function call for accuracy...?\n"), stringcount, floatcount, count)); return; } } #endif