From f9ecc502ab2b0349d46c6a3a96b18905fe1aef7a Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sun, 3 Mar 2013 16:51:35 -0500 Subject: [PATCH] Use the IS_SPEC macros for these --- qcsrc/common/notifications.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 67e606756..e9b0c210e 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -1114,7 +1114,7 @@ float Net_Write_Notification(entity client, float sf) (client == self.nent_client) || ( - (client.classname == STR_SPECTATOR) + IS_SPEC(client) && (client.enemy == self.nent_client) ) @@ -1132,7 +1132,7 @@ float Net_Write_Notification(entity client, float sf) (client.team == self.nent_client.team) || ( - (client.classname == STR_SPECTATOR) + IS_SPEC(client) && (client.enemy.team == self.nent_client.team) ) @@ -1148,7 +1148,7 @@ float Net_Write_Notification(entity client, float sf) (client.team == self.nent_client.team) || ( - (client.classname == STR_SPECTATOR) + IS_SPEC(client) && ( (client.enemy != self.nent_client) @@ -1171,7 +1171,7 @@ float Net_Write_Notification(entity client, float sf) (client != self.nent_client) && !( - (client.classname == STR_SPECTATOR) + IS_SPEC(client) && (client.enemy == self.nent_client) ) -- 2.39.2