From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Date: Tue, 7 Sep 2010 00:58:01 +0000 (+0300)
Subject: Do the team check properly
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=de1f8fc55af112a3ea7a5ed9ab7e1e2c4d521a83;p=voretournament%2Fvoretournament.git

Do the team check properly
---

diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc
index 728580fe..562b6c74 100644
--- a/data/qcsrc/server/bot/havocbot/vore_ai.qc
+++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc
@@ -96,7 +96,7 @@ void Vore_AI()
 	{
 		// the higher the skill, the more the bot will kick in your stomack
 		if(skill >= random_try)
-		if(self.team != self.eater.team) // if someone from the same team somehow made it in the belly, don't kick the eater
+		if not(teams_matter && self.team == self.eater.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