]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Fix comments and move check
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 6 Sep 2010 17:37:20 +0000 (20:37 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 6 Sep 2010 17:37:20 +0000 (20:37 +0300)
data/qcsrc/server/vore.qc

index 81cfdf6ac78f0d063c8d274d061c34247246bdf2..8d59e2bbd8091e29ef0944a184db052fe4972a42 100644 (file)
@@ -227,12 +227,10 @@ void Vore_Teamheal()
 .float stomachkick_delay;\r
 void Vore_StomachKick()\r
 {\r
-       // allows prey to kick the predator's stomach and do some damage / attempt to escape, or bring the predator's digestion upon their self when there's no other option\r
+       // allows prey to kick the predator's stomach and do some damage / attempt to escape\r
        if(self.eater.classname != "player")\r
                return;\r
 \r
-       // kick the predator's stomach and do damage, or escape if we are lucky\r
-       if(self.BUTTON_ATCK)\r
        if(time > self.stomachkick_delay)\r
        {\r
                float damage;\r
@@ -379,7 +377,8 @@ void Vore()
        if(teams_matter && self.team == self.eater.team)\r
                Vore_Teamheal();\r
 \r
-       Vore_StomachKick();\r
+       if(self.BUTTON_ATCK)\r
+               Vore_StomachKick();\r
 \r
        Vore_CameraEffect_Apply();\r
 }
\ No newline at end of file