From: MirceaKitsune Date: Wed, 8 Sep 2010 16:07:39 +0000 (+0300) Subject: prey stealing: Don't do it for team mates X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fe6b322bc689619a4ab71a2724dd0ffe663105b7;p=voretournament%2Fvoretournament.git prey stealing: Don't do it for team mates --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index cbda0690..ce70da9a 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -394,6 +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(Swallow_condition_check(self)) { oldself = self;