From 2bd6cab3c39fc21baefbcbdfab573834e6b61965 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 30 Jul 2011 15:14:39 +0300 Subject: [PATCH] Some code and code comment arrangements for the last change --- data/qcsrc/server/vore.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 6e333e1d..78dbfd28 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -669,12 +669,12 @@ void Vore() Vore_AutoTaunt(); - // wash the goo away from players once they leave the stomach if(!self.stat_eaten) - if(stov(cvar_string("g_vore_regurgitatecolor_release"))) if(self.colormod) if(self.colormod != '1 1 1') { + // wash the goo away from players once they leave the stomach + if(stov(cvar_string("g_vore_regurgitatecolor_release"))) if(cvar("g_vore_regurgitatecolor_release_fade")) { self.colormod_x += cvar("g_vore_regurgitatecolor_release_fade") * frametime; @@ -688,12 +688,12 @@ void Vore() self.colormod_z = 1; } + // constant particles falling off dirty players if(cvar("g_vore_regurgitatecolor_particles")) if(self.regurgitatecolor_particles_tick < time) { pointparticles(particleeffectnum("vore_regurgitate_constant"), self.origin, '0 0 0', 1); - self.regurgitatecolor_particles_tick = time + cvar("g_vore_regurgitatecolor_particles") * vlen(self.colormod); - dprint(strcat(ftos(cvar("g_vore_regurgitatecolor_particles") * vlen(self.colormod)), " --------\n")); + self.regurgitatecolor_particles_tick = time + cvar("g_vore_regurgitatecolor_particles") * vlen(self.colormod); // particle time depends on how dirty the player is } } -- 2.39.2