From: Samual Lenks Date: Sun, 3 Feb 2013 21:55:54 +0000 (-0500) Subject: Fix the broadcast check for Send_Notification X-Git-Tag: xonotic-v0.7.0~62^2~23^2~287 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c061620cb1b5241552520ee6d28bb19f171fb585;p=xonotic%2Fxonotic-data.pk3dir.git Fix the broadcast check for Send_Notification --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 26505273c..1918eb2dd 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -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));