Formatting

This commit is contained in:
mazmazz 2018-09-12 08:06:44 -04:00
parent 7767adbf32
commit cb2ac9b4d3

View file

@ -3287,9 +3287,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
else else
Z_Free(exc); Z_Free(exc);
} }
else else if (line->flags & ML_DONTPEGBOTTOM) // alternate alpha (by texture offsets)
{
if (line->flags & ML_DONTPEGBOTTOM) // alternate alpha (by texture offsets)
{ {
extracolormap_t *exc = R_CopyColormap(line->frontsector->extra_colormap, false); extracolormap_t *exc = R_CopyColormap(line->frontsector->extra_colormap, false);
exc->rgba = R_GetRgbaRGB(exc->rgba) + R_PutRgbaA(max(min(sides[line->sidenum[0]].textureoffset >> FRACBITS, 25), 0)); exc->rgba = R_GetRgbaRGB(exc->rgba) + R_PutRgbaA(max(min(sides[line->sidenum[0]].textureoffset >> FRACBITS, 25), 0));
@ -3307,7 +3305,6 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
else else
sectors[secnum].extra_colormap = line->frontsector->extra_colormap; sectors[secnum].extra_colormap = line->frontsector->extra_colormap;
} }
}
break; break;
case 448: // Change skybox viewpoint/centerpoint case 448: // Change skybox viewpoint/centerpoint