From 12985cf635259009531f71132e6426f3b1fda879 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 30 Nov 2013 12:35:38 +0100 Subject: [PATCH] - fixed: Particle drawing needs to apply the current fixed colormap to the particle's color. --- src/gl/scene/gl_sprite.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gl/scene/gl_sprite.cpp b/src/gl/scene/gl_sprite.cpp index 208507c84..f46acefb4 100644 --- a/src/gl/scene/gl_sprite.cpp +++ b/src/gl/scene/gl_sprite.cpp @@ -918,7 +918,8 @@ void GLSprite::ProcessParticle (particle_t *particle, sector_t *sector)//, int s RenderStyle = STYLE_Translucent; OverrideShader = 0; - ThingColor = particle->color; //GPalette.BaseColors[particle->color]; + ThingColor = particle->color; + gl_ModifyColor(ThingColor.r, ThingColor.g, ThingColor.b, Colormap.colormap); ThingColor.a=0; modelframe=NULL;