]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Cvar dependency for team healing AI
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 7 Sep 2010 17:06:47 +0000 (20:06 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 7 Sep 2010 17:06:47 +0000 (20:06 +0300)
data/qcsrc/server/bot/havocbot/vore_ai.qc

index 1ab66c73529b9286e285e8b94b493cfc305a294a..a782af99e65e9a0b3259552a0d8d0b373e00aa29 100644 (file)
@@ -31,7 +31,7 @@ void Vore_AI_Teamheal(entity prey)
 
        entity head;
 
-       if not(teamplay)
+       if not(teamplay && 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
        {