]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix the broadcast check for Send_Notification
authorSamual Lenks <samual@xonotic.org>
Sun, 3 Feb 2013 21:55:54 +0000 (16:55 -0500)
committerSamual Lenks <samual@xonotic.org>
Sun, 3 Feb 2013 21:55:54 +0000 (16:55 -0500)
qcsrc/common/notifications.qc

index 26505273c5f57a1db86e496317785dfcde95010b..1918eb2ddd121f3af7121fba76e79a51532816dd 100644 (file)
@@ -350,7 +350,7 @@ float Write_Notification(entity client, float sf)
 
 void Send_Notification(float broadcast, entity client, float net_type, float net_name, ...count)
 {
-       if((broadcast == MSG_BROADCAST || broadcast == MSG_ONE) && net_type && net_name)
+       if(broadcast && net_type && net_name)
        {
                float stringcount = stof(Get_Field_Value(F_STRNUM, net_type, net_name));
                float floatcount = stof(Get_Field_Value(F_FLNUM, net_type, net_name));