From 406da9442131c45900f4feb60c11162cee5cb1a5 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sat, 9 Feb 2013 01:02:03 -0500 Subject: [PATCH] Undef something, aaaand... use a #warning when using paired notifs wrongly --- qcsrc/common/notifications.qc | 1 + qcsrc/common/notifications.qh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index eb15b9550..f9279c148 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -69,6 +69,7 @@ string Get_Field_Value(float field, float net_type, float net_name) } #undef GET_FIELD_VALUE_OUTPUT + #undef GET_FIELD_VALUE_OUTPUT_PAIR #undef CLPSE_GETVALUE return ""; } diff --git a/qcsrc/common/notifications.qh b/qcsrc/common/notifications.qh index e873996b7..e90e80616 100644 --- a/qcsrc/common/notifications.qh +++ b/qcsrc/common/notifications.qh @@ -600,7 +600,7 @@ void Dump_Notifications(float fh, float alsoprint); #define CHECK_NOTIFICATION_2(net_type,net_name,infoname,centername) \ #if infoname == NO_MSG \ #if centername == NO_MSG \ - { print(strcat("^1NOTIFICATION WITH NO SUBCALLS: ^7net_type = ", net_type, ", net_name = ", VAR_TO_TEXT(net_name), ".\n")); } \ + #warning PAIRED NOTIFICATION WITH NO SUBCALLS: ##net_type - ##net_name \ #endif \ #endif -- 2.39.2