From 51e122b5d365693bdd92d36054b4518469cbbed3 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 16 Jul 2011 15:47:11 +0300 Subject: [PATCH] Fix a big issue in the new tick check for prey. The vore system works properly again --- data/qcsrc/server/vore.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index e662ca6e..798b5cf6 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -1,4 +1,4 @@ -float vore_frametime; +.float vore_frametime; .float regurgitate_prepare; .float stomachkick_delay, system_delay, action_delay, digest_button_delay_time, regurgitate_button_delay_time; .float complain_vore; @@ -764,10 +764,10 @@ void Vore() // -------------------------------- // only scan prey each server frame, else we get major breakage in multiplayer - if(vore_frametime <= time) + if(self.vore_frametime <= time) { self.prey = Swallow_player_check(); - vore_frametime = time + sys_frametime; + self.vore_frametime = time + sys_frametime; } // attempt to swallow our new prey if we pressed the attack button, and there's any in range -- 2.39.2