]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_particles.c
-Added a more descriptive comment for prvm_edict_t::p
[xonotic/darkplaces.git] / cl_particles.c
index c185062e58a7a3d8b4978267b925599c82ec9d69..e33bba65f3461ce52f5758c252c03a705ea1e533 100644 (file)
@@ -327,6 +327,7 @@ void CL_Particles_Init (void)
 {
        int             i;
 
+// COMMANDLINEOPTION: Client: -particles <number> changes maximum number of particles at once, default 32768
        i = COM_CheckParm ("-particles");
 
        if (i && i < com_argc - 1)
@@ -1124,6 +1125,7 @@ void CL_RocketTrail (vec3_t start, vec3_t end, int type, int color, entity_t *en
        if (speed)
                speed = 1.0f / speed;
        VectorSubtract(ent->state_current.origin, ent->state_previous.origin, vel);
+       color = particlepalette[color];
 #endif
        VectorScale(vel, speed, vel);