From: TimePath Date: Tue, 15 Mar 2016 10:58:33 +0000 (+1100) Subject: Fix NOTIF_ALL notifications X-Git-Tag: xonotic-v0.8.2~1073 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c88e4741;p=xonotic%2Fxonotic-data.pk3dir.git Fix NOTIF_ALL notifications --- diff --git a/qcsrc/common/notifications/all.qc b/qcsrc/common/notifications/all.qc index 60fd62599..ad2013dfa 100644 --- a/qcsrc/common/notifications/all.qc +++ b/qcsrc/common/notifications/all.qc @@ -1548,7 +1548,7 @@ void Send_Notification( MSG net_type, Notification net_name, ...count) { - if (!IS_REAL_CLIENT(client)) return; + if (broadcast != NOTIF_ALL && broadcast != NOTIF_ALL_EXCEPT && !IS_REAL_CLIENT(client)) return; entity notif = net_name; string parms = sprintf("%s, '%s', %s, %s", Get_Notif_BroadcastName(broadcast),