From 6ac50dd1b4a5ba7a9e43483ce679d886cfa7c641 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 2 Sep 2010 16:28:01 +0300 Subject: [PATCH] Some minor tweak --- data/qcsrc/server/vore.qc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index b7e3b6dd..8dcf2a9b 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -3,6 +3,7 @@ .float complain_swallow; const float complain_delay = 1; const float button_delay = 0.5; +const float steptime = 0.1; .float vore_oldmovetype, vore_oldsolid, vore_oldstomachload; @@ -144,7 +145,7 @@ void Vore_Disconnect() void Vore_Digest() { // apply digestion to prey - if(time > self.eater.digestion_step + 0.1) + if(time > self.eater.digestion_step + steptime) { Damage(self, self.eater, self.eater, cvar("g_balance_vore_digestion_damage"), DEATH_DIGESTION, self.origin, '0 0 0'); if(cvar("g_balance_vore_digestion_vampire") && self.eater.health < cvar("g_balance_vore_digestion_vampire_stable")) @@ -167,7 +168,7 @@ void Vore_Digest() void Vore_Teamheal() { if(cvar("g_balance_vore_teamheal") && self.health < cvar("g_balance_vore_teamheal_stable")) - if(time > self.teamheal_step + 0.1) + if(time > self.teamheal_step + steptime) { self.health += cvar("g_balance_vore_teamheal"); self.teamheal_step = time; -- 2.39.2