]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Stuff and thingsss
authorSamual Lenks <samual@xonotic.org>
Sat, 15 Dec 2012 21:35:44 +0000 (16:35 -0500)
committerSamual Lenks <samual@xonotic.org>
Sat, 15 Dec 2012 21:35:44 +0000 (16:35 -0500)
qcsrc/common/notifications.qc

index 1bd360c769a14e3eda6c288db4c2a9c14e2a6a97..96e36118ecf3e98e68acc4e5db9da5ffbbe86a30 100644 (file)
@@ -765,9 +765,8 @@ void Read_Notification(void)
 #ifdef SVQC
 void Send_Notification(entity client, float broadcast, float net_type, float net_name, string s1, string s2, float f1, float f2, float f3)
 {
-       if(net_type && net_name)
+       if(broadcast && net_type && net_name)
        {
-               //print("notification: ", Get_Field_Value(F_NAME, net_type, net_name), ": ", ftos(net_name), ".\n");
                dprint("Send_Notification(", ftos(net_type), ", ", Get_Field_Value(F_NAME, net_type, net_name), strcat(", ", s1, ", ", s2, ", ", ftos(f1), strcat(", ", ftos(f2), ", ", ftos(f3), ");\n")));
 
                float stringcount = stof(Get_Field_Value(F_STRNUM, net_type, net_name));