- if(checkextension("DP_CSQC_BOXPARTICLES"))
- {
- /* looks good, but we can do better with particle count
- particles_alphamin = particles_alphamax = self.alpha;
- boxparticles(self.traileffect, self, from, to, self.velocity, self.velocity, 1, PARTICLES_USEALPHA);
- */
- /* looks bad
- boxparticles(self.traileffect, self, from, to, self.velocity, self.velocity, self.alpha, 0);
- */
- particles_alphamin = particles_alphamax = sqrt(self.alpha);
- boxparticles(self.traileffect, self, from, to, self.velocity, self.velocity, sqrt(self.alpha), PARTICLES_USEALPHA);
- }
- else
- trailparticles(self, self.traileffect, from, to);
+ particles_alphamin = particles_alphamax = sqrt(self.alpha);
+ boxparticles(self.traileffect, self, from, to, self.velocity, self.velocity, sqrt(self.alpha), PARTICLES_USEALPHA);