keepinstomach - same thing on the predator's end. When enabled, a team mate will...
[voretournament/voretournament.git] / data / qcsrc / server / bot / havocbot / vore_ai.qc
index 26c85aaae558b6d04184f2b7c772bad9e36ea8ab..207f9055bb5c30adf7b1e37a5b1c5f11bfa1e7b4 100644 (file)
@@ -56,6 +56,7 @@ void Vore_AI_Teamheal(entity prey)
        // now that we're decided if we can teamheal or not, lets go ahead and do so
 
        // if we are holding a team mate that's been healed to the limit, we can release them
+       if not(cvar("bot_ai_vore_keepinstomach"))
        FOR_EACH_PLAYER(head)
        {
                if(head.predator == self) // head is automatically a team mate, or we wouldn't be reaching this part of the code
@@ -183,7 +184,7 @@ void Vore_AI()
                        else if not(g_rpg && cvar("g_rpg_botattack") < 2)
                        {
                                if not(teams_matter && self.team == self.predator.team && cvar("g_balance_vore_teamheal") && self.health < cvar("g_balance_vore_teamheal_stable")) // we are being team healed, don't leave
-                               if not(teams_matter && self.team == self.predator.team && cvar("bot_ai_vore_stayinteamstomach")) // bots are not supposed to leave a team mate's stomach automatically
+                               if not(teams_matter && self.team == self.predator.team && cvar("bot_ai_vore_stayinstomach")) // bots are not supposed to leave a team mate's stomach automatically
                                        self.BUTTON_JUMP = TRUE; // leave
                        }
                }