mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 01:01:45 +00:00
Merge branch 'blentran-update' into udmf-full
This commit is contained in:
commit
3104504848
1 changed files with 2 additions and 2 deletions
|
@ -1454,13 +1454,13 @@ static void HWR_ProcessSeg(void) // Sort of like GLWall::Process in GZDoom
|
||||||
case 221:
|
case 221:
|
||||||
case 253:
|
case 253:
|
||||||
case 256:
|
case 256:
|
||||||
if (gl_linedef->blendmode != AST_FOG)
|
if (gl_linedef->blendmode && gl_linedef->blendmode != AST_FOG)
|
||||||
blendmode = HWR_SurfaceBlend(gl_linedef->blendmode, R_GetLinedefTransTable(gl_linedef->alpha), &Surf);
|
blendmode = HWR_SurfaceBlend(gl_linedef->blendmode, R_GetLinedefTransTable(gl_linedef->alpha), &Surf);
|
||||||
else
|
else
|
||||||
blendmode = PF_Translucent;
|
blendmode = PF_Translucent;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (gl_linedef->blendmode != AST_FOG)
|
if (gl_linedef->blendmode && gl_linedef->blendmode != AST_FOG)
|
||||||
{
|
{
|
||||||
if (gl_linedef->alpha >= 0 && gl_linedef->alpha < FRACUNIT)
|
if (gl_linedef->alpha >= 0 && gl_linedef->alpha < FRACUNIT)
|
||||||
blendmode = HWR_SurfaceBlend(gl_linedef->blendmode, R_GetLinedefTransTable(gl_linedef->alpha), &Surf);
|
blendmode = HWR_SurfaceBlend(gl_linedef->blendmode, R_GetLinedefTransTable(gl_linedef->alpha), &Surf);
|
||||||
|
|
Loading…
Reference in a new issue