From: Samual Lenks Date: Fri, 26 Apr 2013 00:02:07 +0000 (-0400) Subject: When net_type is MSG_CENTER and net_name is 0, still check entity net_type X-Git-Tag: xonotic-v0.7.0~74 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f1d601ea86fab544898d027deec682172e4b71a1;p=xonotic%2Fxonotic-data.pk3dir.git When net_type is MSG_CENTER and net_name is 0, still check entity net_type --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index cf495153e..7d8dfc382 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -1265,7 +1265,7 @@ void Kill_Notification( { if(net_type) { - if(killed_cpid != NO_CPID) + if((killed_cpid != NO_CPID) && (notif.nent_net_type == MSG_CENTER)) { if(notif.owner.nent_cpid == killed_cpid) {