From: MirceaKitsune Date: Wed, 8 Sep 2010 16:08:15 +0000 (+0300) Subject: Do it correctly X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1d16f37869c52585d41ea3000a7e4380c18c58ab;p=voretournament%2Fvoretournament.git Do it correctly --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index ce70da9a..00ba629b 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -394,7 +394,7 @@ void Vore() Vore_Regurgitate(self); if(random() < cvar("g_vore_stealprey")) - if(self.predator.team != target_predator.team) // don't steal a team mate's prey + if not(teams_matter && self.predator.team == target_predator.team) // don't steal a team mate's prey if(Swallow_condition_check(self)) { oldself = self;