]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
stop complaining about SVC_PARTICLE
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 13 Apr 2006 16:41:23 +0000 (16:41 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 13 Apr 2006 16:41:23 +0000 (16:41 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6272 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c

index 14e216f2d909892e10a567be662f2d5c8380f9ce..18b18057ac0cef6a7d31515af615710c906ea4e6 100644 (file)
@@ -999,6 +999,7 @@ void CL_ParticleEffect(int effectnameindex, float pcount, const vec3_t originmin
                                        particle(particletype + pt_alphastatic, k, k, tex_particle, 1, 255, 512, 0, 0, lhrandom(originmins[0], originmaxs[0]), lhrandom(originmins[1], originmaxs[1]), lhrandom(originmins[2], originmaxs[2]), lhrandom(velocitymins[0], velocitymaxs[0]), lhrandom(velocitymins[1], velocitymaxs[1]), lhrandom(velocitymins[2], velocitymaxs[2]), 0, 8, 15);
                        }
                }
+               return;
        }
        else if (!cl_particles_quake.integer && particleeffectinfo[0].effectnameindex)
        {