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 ce70da9..00ba629 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