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 ae7a55f..b3fd18f 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