From 612d5f9e17ac2adf7d2feb05d6b387b140381cb5 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Tue, 7 Sep 2010 20:19:56 +0300 Subject: [PATCH] Use correct value in Vore_AI --- data/qcsrc/server/bot/havocbot/vore_ai.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index a782af99..d7f69548 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -31,7 +31,7 @@ void Vore_AI_Teamheal(entity prey) entity head; - if not(teamplay && cvar("g_balance_vore_teamheal")) + if not(teams_matter && cvar("g_balance_vore_teamheal")) return; if(self.deadflag != DEAD_NO || self.eater.classname == "player" || self.flagcarried || self.digesting) // a flag carrier can't waste time on team healing { @@ -119,7 +119,7 @@ void Vore_AI() { // the greater the skill, the higher the chance bots will swallow someone each attempt if(skill >= random_try) - if not(teamplay && prey.team == self.team) + if not(teams_matter && prey.team == self.team) { self.BUTTON_ATCK = TRUE; // swallow self.decide_delay1 = time + decide_pred; // time before the bot decides what to do with their prey @@ -155,7 +155,7 @@ void Vore_AI() { // the higher the skill, the more the bot will kick in your stomack if(skill >= random_try) - if not(teamplay && prey.team == self.team) // if someone from the same team somehow made it in the belly, don't kick the eater + if not(teams_matter && prey.team == self.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