]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
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 0300168c69f6a7d32bc2e9d0d9791b79e748bc82..c806b2fd85dff9e726f5f249ebd35a7559d6d394 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