mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 16:07:55 +00:00
- fixed: Particle drawing needs to apply the current fixed colormap to the particle's color.
This commit is contained in:
parent
e4282d3554
commit
12985cf635
1 changed files with 2 additions and 1 deletions
|
@ -918,7 +918,8 @@ void GLSprite::ProcessParticle (particle_t *particle, sector_t *sector)//, int s
|
||||||
RenderStyle = STYLE_Translucent;
|
RenderStyle = STYLE_Translucent;
|
||||||
OverrideShader = 0;
|
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;
|
ThingColor.a=0;
|
||||||
|
|
||||||
modelframe=NULL;
|
modelframe=NULL;
|
||||||
|
|
Loading…
Reference in a new issue