From de1f8fc55af112a3ea7a5ed9ab7e1e2c4d521a83 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Tue, 7 Sep 2010 03:58:01 +0300 Subject: [PATCH] Do the team check properly --- 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 728580fe..562b6c74 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -96,7 +96,7 @@ void Vore_AI() { // the higher the skill, the more the bot will kick in your stomack if(skill >= random_try) - if(self.team != self.eater.team) // if someone from the same team somehow made it in the belly, don't kick the eater + if not(teams_matter && self.team == self.eater.team) // if someone from the same team somehow made it in the belly, don't kick the eater self.BUTTON_ATCK = TRUE; // kick self.decide_delay2 = time + decide_prey; // time before the bot decides what to do with their predator -- 2.39.2