]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Ah... keep primary fire for stomach kicks though
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 19 Jul 2011 13:10:02 +0000 (16:10 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 19 Jul 2011 13:10:02 +0000 (16:10 +0300)
data/qcsrc/server/bot/havocbot/vore_ai.qc
data/qcsrc/server/vore.qc

index 9d2938782fefac1d09f9d42f6c1e75085afb964c..52be2a4120dac13b74109c7a984be3c7ef433fbd 100644 (file)
@@ -245,7 +245,7 @@ void Vore_AI()
                        // the higher the skill, the more the bot will kick in your stomack
                        if(skill >= randomtry)
                        if not(teams_matter && self.team == self.predator.team) // if someone from the same team is in the belly, don't kick the predator
-                               self.BUTTON_ATCK2 = TRUE; // kick
+                               self.BUTTON_ATCK = TRUE; // kick
                }
 
                // if a bot can willingly leave the predator, do so unless there's a reason not to
index b12564d0bc713faaae400131694996cf219fba23..855b402eb1f5d5d92a90f4cd384d677d47b204da 100644 (file)
@@ -881,7 +881,7 @@ void Vore()
                Vore_Teamheal();\r
 \r
        // execute prey commands\r
-       if(self.BUTTON_ATCK2)\r
+       if(self.BUTTON_ATCK)\r
        {\r
                if(cvar("g_vore_kick"))\r
                        Vore_StomachKick();\r