]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Bad bot! Haven't I taught you not to kick team mate's bellies? Probably not :P
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 7 Sep 2010 17:36:02 +0000 (20:36 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 7 Sep 2010 17:36:02 +0000 (20:36 +0300)
data/qcsrc/server/bot/havocbot/vore_ai.qc

index d7f6954823bcef42cdaab6a426d199ca7371dd0f..28c3ec1e82ff67d3e74e84a09216e6454f540b20 100644 (file)
@@ -152,6 +152,7 @@ void Vore_AI()
 
        // all we can do in the stomach is kick and do some damage / try to escape
        if(self.eater.classname == "player" && time > self.decide_delay2)
+       if not(teams_matter && self.team == self.eater.team)
        {
                // the higher the skill, the more the bot will kick in your stomack
                if(skill >= random_try)