From: Samual Lenks Date: Wed, 27 Feb 2013 04:57:48 +0000 (-0500) Subject: Wait, don't just kill ALL notifications of the same type... durr! X-Git-Tag: xonotic-v0.7.0~62^2~23^2~92 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b4a884307ed1e661bf25f64743e1004387706dc4;p=xonotic%2Fxonotic-data.pk3dir.git Wait, don't just kill ALL notifications of the same type... durr! --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 1fc3a0521..6917821da 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -626,8 +626,12 @@ void Kill_Notification(float broadcast, entity client, float net_type, float net // now kill the old send notification entity if(notif.nent_net_type == net_type) { + if(net_name) + { if(notif.nent_net_name == net_name) { notif.think(); } } + else + { notif.think(); } + print(sprintf("killed '%s'\n", notif.classname)); - notif.think(); } } }