- fixed compilation of AActor::alpha

This commit is contained in:
Christoph Oelckers 2016-03-22 12:56:20 +01:00
commit bd7df76059
2 changed files with 3 additions and 3 deletions

View file

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