]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Oops... fix a bug in a recent bot AI code
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 31 Jul 2011 21:44:33 +0000 (00:44 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 31 Jul 2011 21:44:33 +0000 (00:44 +0300)
data/qcsrc/server/bot/havocbot/vore_ai.qc

index cfe03625da20acba37b3716ba6b01170fedb9215..fb98cdffd7c20ccb06aece7af6611ec0bc11e2b5 100644 (file)
@@ -194,7 +194,7 @@ void Vore_AI()
                                FOR_EACH_PLAYER(head)
                                {
                                        if(head.predator == self)
-                                       if(head.deadflag != DEAD_NO)
+                                       if(head.deadflag == DEAD_NO)
                                                found_live_prey = TRUE;
                                }