From: MirceaKitsune Date: Sun, 31 Jul 2011 21:44:33 +0000 (+0300) Subject: Oops... fix a bug in a recent bot AI code X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bbf3920f6d80040395724c71ee1f4953f63742fb;p=voretournament%2Fvoretournament.git Oops... fix a bug in a recent bot AI code --- diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index cfe03625..fb98cdff 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -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; }