]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Arrange the code better
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 26 Feb 2011 14:54:19 +0000 (16:54 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 26 Feb 2011 14:54:19 +0000 (16:54 +0200)
data/qcsrc/server/vore.qc

index ed96dab3f8ca437c1de4d8885ff6d1b09f4b6f7e..1b76d469f398e7b8cd2bcc745579a9e5fcacd414 100644 (file)
@@ -337,12 +337,12 @@ void Vore()
        if(cvar("g_vore_regurgitatecolor_release_fade"))\r
        {\r
                self.colormod_x += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
-               self.colormod_y += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
-               self.colormod_z += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
                if(self.colormod_x > 1)\r
                        self.colormod_x = 1;\r
+               self.colormod_y += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
                if(self.colormod_y > 1)\r
                        self.colormod_y = 1;\r
+               self.colormod_z += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
                if(self.colormod_z > 1)\r
                        self.colormod_z = 1;\r
        }\r