]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix color problem with glow_trail (the blue trail bug)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Oct 2004 18:55:13 +0000 (18:55 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Oct 2004 18:55:13 +0000 (18:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4606 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c

index 7b319515fe2491846b31bf270c2931b9d27375c2..e33bba65f3461ce52f5758c252c03a705ea1e533 100644 (file)
@@ -1125,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);