]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Tweak a blood counter for gibs, which should improve performance and slightly change...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 15:04:55 +0000 (17:04 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 15:04:55 +0000 (17:04 +0200)
data/qcsrc/client/gibs.qc

index 3e228f648b05c801a173e90e95341f87d8bb05d2..671e78a35af65c5cf11ddf5340d8ca7001efbfd9 100644 (file)
@@ -51,8 +51,8 @@ void new_te_bloodshower (float ef, vector org, float explosionspeed, float howma
 {\r
        float i, pmod;\r
        pmod = cvar("cl_particles_quality");\r
-       for (i = 0; i < 250 * pmod; ++i)\r
-               pointparticles(ef, org, randomvec() * explosionspeed, howmany / 250);\r
+       for (i = 0; i < 50 * pmod; ++i)\r
+               pointparticles(ef, org, randomvec() * explosionspeed, howmany / 50);\r
 }\r
 \r
 void SUB_RemoveOnNoImpact()\r