Fix gl_linedef renaming which went off radars on the udmf branch

This commit is contained in:
Nev3r 2020-07-28 20:39:11 +02:00
parent 6dfe236602
commit f791c1b4ec
1 changed files with 2 additions and 2 deletions

View File

@ -1466,8 +1466,8 @@ static void HWR_ProcessSeg(void) // Sort of like GLWall::Process in GZDoom
blendmode = PF_Translucent;
break;
default:
if (gr_linedef->alpha >= 0 && gr_linedef->alpha < FRACUNIT)
blendmode = HWR_TranstableToAlpha(R_GetLinedefTransTable(gr_linedef->alpha), &Surf);
if (gl_linedef->alpha >= 0 && gl_linedef->alpha < FRACUNIT)
blendmode = HWR_TranstableToAlpha(R_GetLinedefTransTable(gl_linedef->alpha), &Surf);
else
blendmode = PF_Masked;
break;