]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Fix a foolish mistake
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 27 Feb 2011 21:04:08 +0000 (23:04 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 27 Feb 2011 21:04:08 +0000 (23:04 +0200)
data/qcsrc/server/vore.qc

index ae7a55f27207965449f495499dab00b294856501..b3fd18fd7a71fdcfb8d38eb84566067b71656686 100644 (file)
@@ -157,7 +157,7 @@ void Vore_AutoDigest(entity e)
                FOR_EACH_PLAYER(head)\r
                {\r
                        // never begin automatic digestion if we've swallowed a team mate\r
-                       if(head.team == e.team)\r
+                       if(head.predator == e && head.team == e.team)\r
                                return;\r
                }\r
        }\r