]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Move vore swallowing to the alt fire button, which will be used for this function...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 19 Jul 2011 13:05:43 +0000 (16:05 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 19 Jul 2011 13:05:43 +0000 (16:05 +0300)
data/qcsrc/server/vore.qc

index febc062e7cf86f2410a66f90941a1357992c6c31..b12564d0bc713faaae400131694996cf219fba23 100644 (file)
@@ -60,7 +60,7 @@ float Swallow_condition_check(entity prey)
 \r
                if(swallow_complain != "")\r
                {\r
-                       if(time > self.complain_vore && self.BUTTON_ATCK)\r
+                       if(time > self.complain_vore && self.BUTTON_ATCK2)\r
                        {\r
                                play2(self, "misc/forbidden.wav");\r
                                sprint(self, swallow_complain);\r
@@ -782,7 +782,7 @@ void Vore()
                else\r
                        self.stat_canswallow = 1;\r
 \r
-               if(self.BUTTON_ATCK)\r
+               if(self.BUTTON_ATCK2)\r
                        Vore_SwallowStep(prey);\r
        }\r
        else if(prey != world)\r
@@ -881,7 +881,7 @@ void Vore()
                Vore_Teamheal();\r
 \r
        // execute prey commands\r
-       if(self.BUTTON_ATCK)\r
+       if(self.BUTTON_ATCK2)\r
        {\r
                if(cvar("g_vore_kick"))\r
                        Vore_StomachKick();\r