- fixed: Particle drawing needs to apply the current fixed colormap to the particle's color.

This commit is contained in:
Christoph Oelckers 2013-11-30 12:35:38 +01:00
parent e4282d3554
commit 12985cf635
1 changed files with 2 additions and 1 deletions

View File

@ -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;