Fix the timer
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 01:40:45 +0000 (03:40 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 01:40:45 +0000 (03:40 +0200)
data/qcsrc/server/vore.qc

index 0300168..c806b2f 100644 (file)
@@ -422,7 +422,7 @@ void Vore_AutoTaunt()
                if(!self.taunt_soundtime)\r
                {\r
                        taunt_time = random() * (cvar("sv_vore_autotaunt_repeat_max") - cvar("sv_vore_autotaunt_repeat_min")) + cvar("sv_vore_autotaunt_repeat_min");\r
-                       SetAutoTaunt(self, taunt_time, TAUNTTYPE_VOREPRED);\r
+                       SetAutoTaunt(self, time + taunt_time, TAUNTTYPE_VOREPRED);\r
                }\r
        }\r
        else if(self.taunt_soundtype == TAUNTTYPE_VOREPRED)\r
@@ -437,7 +437,7 @@ void Vore_AutoTaunt()
                if(!self.taunt_soundtime)\r
                {\r
                        taunt_time = random() * (cvar("sv_vore_autotaunt_repeat_max") - cvar("sv_vore_autotaunt_repeat_min")) + cvar("sv_vore_autotaunt_repeat_min");\r
-                       SetAutoTaunt(self, taunt_time, TAUNTTYPE_VOREPREY);\r
+                       SetAutoTaunt(self, time + taunt_time, TAUNTTYPE_VOREPREY);\r
                }\r
        }\r
        else if(self.taunt_soundtype == TAUNTTYPE_VOREPREY)\r