From: Mario Date: Wed, 23 Oct 2013 09:36:45 +0000 (+1100) Subject: Fix compile error X-Git-Tag: xonotic-v0.8.0~56^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e4a46772fd68ab83ee951a156b9bcfc2b52052e5;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile error --- diff --git a/qcsrc/server/mutators/gamemode_onslaught.qc b/qcsrc/server/mutators/gamemode_onslaught.qc index 235fc2e43..8bbe4bdc2 100644 --- a/qcsrc/server/mutators/gamemode_onslaught.qc +++ b/qcsrc/server/mutators/gamemode_onslaught.qc @@ -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?