]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Undef something, aaaand... use a #warning when using paired notifs wrongly
authorSamual Lenks <samual@xonotic.org>
Sat, 9 Feb 2013 06:02:03 +0000 (01:02 -0500)
committerSamual Lenks <samual@xonotic.org>
Sat, 9 Feb 2013 06:02:03 +0000 (01:02 -0500)
qcsrc/common/notifications.qc
qcsrc/common/notifications.qh

index eb15b95500d2a3e72e67e4ffcc146cb5a5d5edd6..f9279c148cc33d6de6d0cfe00718edfa602fb310 100644 (file)
@@ -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 "";
 }
index e873996b740cfc787f34989f60a909afb89f704a..e90e806165321706f99ef6639414894f83de61b7 100644 (file)
@@ -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