Bot AI: Don't leave when gentle vore is enabled
[voretournament/voretournament.git] / data / qcsrc / server / bot / havocbot / vore_ai.qc
index 6fa5945..4543dc2 100644 (file)
@@ -227,7 +227,7 @@ void Vore_AI()
                {
                        if(self.predator.digesting) // our predator is digesting, so get out of him regardless of who he is
                                self.BUTTON_JUMP = TRUE; // leave
-                       else if not(g_rpg && cvar("g_rpg_botattack") < 2)
+                       else if not((g_rpg && cvar("g_rpg_botattack") < 2) || !cvar("g_vore_digestion")) // don't leave when gentle vore is enabled
                        {
                                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_stayinstomach")) // bots are not supposed to leave a team mate's stomach automatically