]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
First part of fixing the multiplayer swallowing issue. Will have to release a 0.6...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 16 Jul 2011 01:37:55 +0000 (04:37 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 16 Jul 2011 01:37:55 +0000 (04:37 +0300)
data/qcsrc/server/vore.qc

index d1069129fbae3dd6f34eee829562f92ac09625b3..8dcdb92a02ebd4efc1e4d23d2cf8c391e3f9852d 100644 (file)
@@ -1,3 +1,4 @@
+float vore_frametime;\r
 .float regurgitate_prepare;\r
 .float stomachkick_delay, system_delay, action_delay, digest_button_delay_time, regurgitate_button_delay_time;\r
 .float complain_vore;\r
@@ -663,6 +664,10 @@ void Vore()
 {\r
        // main vore code, this is where it all happens\r
 \r
+       if(vore_frametime > time) //account system frametime\r
+               return;\r
+       vore_frametime = time + sys_frametime;\r
+\r
        Vore_AutoTaunt();\r
 \r
        // wash the goo away from players once they leave the stomach\r