]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Some code and code comment arrangements for the last change
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 30 Jul 2011 12:14:39 +0000 (15:14 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 30 Jul 2011 12:14:39 +0000 (15:14 +0300)
data/qcsrc/server/vore.qc

index 6e333e1d9735a54ad57b6ae32edc892e0f08bb59..78dbfd287d53d17433536c34242c6b7972b69578 100644 (file)
@@ -669,12 +669,12 @@ void Vore()
 \r
        Vore_AutoTaunt();\r
 \r
-       // wash the goo away from players once they leave the stomach\r
        if(!self.stat_eaten)\r
-       if(stov(cvar_string("g_vore_regurgitatecolor_release")))\r
        if(self.colormod)\r
        if(self.colormod != '1 1 1')\r
        {\r
+               // wash the goo away from players once they leave the stomach\r
+               if(stov(cvar_string("g_vore_regurgitatecolor_release")))\r
                if(cvar("g_vore_regurgitatecolor_release_fade"))\r
                {\r
                        self.colormod_x += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
@@ -688,12 +688,12 @@ void Vore()
                                self.colormod_z = 1;\r
                }\r
 \r
+               // constant particles falling off dirty players\r
                if(cvar("g_vore_regurgitatecolor_particles"))\r
                if(self.regurgitatecolor_particles_tick < time)\r
                {\r
                        pointparticles(particleeffectnum("vore_regurgitate_constant"), self.origin, '0 0 0', 1);\r
-                       self.regurgitatecolor_particles_tick = time + cvar("g_vore_regurgitatecolor_particles") * vlen(self.colormod);\r
-                       dprint(strcat(ftos(cvar("g_vore_regurgitatecolor_particles") * vlen(self.colormod)), " --------\n"));\r
+                       self.regurgitatecolor_particles_tick = time + cvar("g_vore_regurgitatecolor_particles") * vlen(self.colormod); // particle time depends on how dirty the player is\r
                }\r
        }\r
 \r