]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed particleaccumulator check to use >= 1 instead of > 0, hopefully this will...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Feb 2007 19:27:57 +0000 (19:27 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Feb 2007 19:27:57 +0000 (19:27 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6833 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c

index a80a28b59e1cb8c2e8580ed7071adca7b73633e9..c0238225efcb67ac8ebae73cd229682ab2e3709e 100644 (file)
@@ -1119,7 +1119,7 @@ void CL_ParticleTrail(int effectnameindex, float pcount, const vec3_t originmins
                                                info->particleaccumulator += info->countabsolute + pcount * info->countmultiplier * cl_particles_quality.value;
                                                trailstep = 0;
                                        }
-                                       for (;info->particleaccumulator > 0;info->particleaccumulator--)
+                                       for (;info->particleaccumulator >= 1;info->particleaccumulator--)
                                        {
                                                if (info->tex[1] > info->tex[0])
                                                {