From 8e06b145226266e319973f3bca5c2da620fe4a53 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 6 Dec 2010 12:28:26 +0100 Subject: [PATCH] make team/invert logic identical to most other ents for trigger_multiple --- qcsrc/server/g_triggers.qc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qcsrc/server/g_triggers.qc b/qcsrc/server/g_triggers.qc index 54cb530fe..0a70de75f 100644 --- a/qcsrc/server/g_triggers.qc +++ b/qcsrc/server/g_triggers.qc @@ -189,14 +189,12 @@ void multi_use() void multi_touch() { if not(self.spawnflags & 2) - { if not(other.iscreature) return; - if(self.team) - if(self.team == other.team) + if(self.team) + if((self.spawnflags & 4 == 0) == (self.team != other.team)) return; - } // if the trigger has an angles field, check player's facing direction if (self.movedir != '0 0 0') -- 2.39.2