mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed compilation of AActor::alpha
This commit is contained in:
parent
19b85f806e
commit
bd7df76059
2 changed files with 3 additions and 3 deletions
|
@ -498,7 +498,7 @@ void GLSprite::Process(AActor* thing,sector_t * sector)
|
|||
P_CheckPlayerSprite(thing, spritenum, sprscale);
|
||||
}
|
||||
|
||||
if (thing->renderflags & RF_INVISIBLE || !thing->RenderStyle.IsVisible(thing->alpha))
|
||||
if (thing->renderflags & RF_INVISIBLE || !thing->RenderStyle.IsVisible(thing->Alpha))
|
||||
{
|
||||
if (!(thing->flags & MF_STEALTH) || !gl_fixedcolormap || !gl_enhanced_nightvision)
|
||||
return;
|
||||
|
@ -713,7 +713,7 @@ void GLSprite::Process(AActor* thing,sector_t * sector)
|
|||
translation=thing->Translation;
|
||||
|
||||
OverrideShader = -1;
|
||||
trans = FIXED2FLOAT(thing->alpha);
|
||||
trans = thing->Alpha;
|
||||
hw_styleflags = STYLEHW_Normal;
|
||||
|
||||
if (RenderStyle.BlendOp >= STYLEOP_Fuzz && RenderStyle.BlendOp <= STYLEOP_FuzzOrRevSub)
|
||||
|
|
|
@ -300,7 +300,7 @@ void FGLRenderer::DrawPlayerSprites(sector_t * viewsector, bool hudModelStep)
|
|||
visstyle_t vis;
|
||||
|
||||
vis.RenderStyle=playermo->RenderStyle;
|
||||
vis.alpha=playermo->alpha;
|
||||
vis.alpha=playermo->Alpha;
|
||||
vis.colormap = NULL;
|
||||
if (playermo->Inventory)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue