]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Do it correctly
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 8 Sep 2010 16:08:15 +0000 (19:08 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 8 Sep 2010 16:08:15 +0000 (19:08 +0300)
data/qcsrc/server/vore.qc

index ce70da9a76ae482be41f041c67e29aaf3c70c218..00ba629bf9c38999b7b0e9fbf1b37c45b8741541 100644 (file)
@@ -394,7 +394,7 @@ void Vore()
 \r
                Vore_Regurgitate(self);\r
                if(random() < cvar("g_vore_stealprey"))\r
-               if(self.predator.team != target_predator.team) // don't steal a team mate's prey\r
+               if not(teams_matter && self.predator.team == target_predator.team) // don't steal a team mate's prey\r
                if(Swallow_condition_check(self))\r
                {\r
                        oldself = self;\r