]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/bot/havocbot/vore_ai.qc
Oops... fix a bug in a recent bot AI code
[voretournament/voretournament.git] / 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;
                                }