]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile error
authorMario <mario.mario@y7mail.com>
Wed, 23 Oct 2013 09:36:45 +0000 (20:36 +1100)
committerMario <mario.mario@y7mail.com>
Wed, 23 Oct 2013 09:36:45 +0000 (20:36 +1100)
qcsrc/server/mutators/gamemode_onslaught.qc

index 235fc2e43f5d58743db3ea86ccf1ea1c749b68c1..8bbe4bdc29d05a0b144c0f193fcc92dd47e7d984 100644 (file)
@@ -422,7 +422,7 @@ void onslaught_generator_think()
             self.wait = time + 5;
             FOR_EACH_REALPLAYER(e)
             {
-                               if not(IsDifferentTeam(e, self))
+                               if(SAME_TEAM(e, self))
                 {
                                        Send_Notification(NOTIF_ONE, e, MSG_CENTER, CENTER_ONS_NOTSHIELDED);
                     soundto(MSG_ONE, e, CHAN_AUTO, "kh/alarm.wav", VOL_BASE, ATTEN_NONE);    // FIXME: Uniqe sound?