mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +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;
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue