From bbf3920f6d80040395724c71ee1f4953f63742fb Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 1 Aug 2011 00:44:33 +0300 Subject: [PATCH] Oops... fix a bug in a recent bot AI code --- data/qcsrc/server/bot/havocbot/vore_ai.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2