From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Date: Mon, 4 Oct 2010 10:40:11 +0000 (+0300)
Subject: Vore AI: Don't eat someone with spawn shield active, since this means they're invinci... 
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4142bb59559f429ee88e3b9f1f37cf67e90528bb;p=voretournament%2Fvoretournament.git

Vore AI: Don't eat someone with spawn shield active, since this means they're invincible and we take stomach kicks for no reason
---

diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc
index 207f9055..8a18c2e7 100644
--- a/data/qcsrc/server/bot/havocbot/vore_ai.qc
+++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc
@@ -5,6 +5,7 @@ float Swallow_condition_check_bot(entity prey)
 	// checks the necessary conditions for a bot to swallow a player
 
 	if(Swallow_condition_check(prey)) // check the normal conditions of the vore system
+	if(time >= prey.spawnshieldtime)
 	if not(prey.BUTTON_CHAT) // don't eat players who are chatting
 	if(self.health > cvar("g_balance_vore_kick_damage_max")) // explained below
 		return TRUE;