Formatting

This commit is contained in:
mazmazz 2018-09-12 08:06:44 -04:00
parent 7767adbf32
commit cb2ac9b4d3
1 changed files with 12 additions and 15 deletions

View File

@ -3287,9 +3287,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
else
Z_Free(exc);
}
else
{
if (line->flags & ML_DONTPEGBOTTOM) // alternate alpha (by texture offsets)
else if (line->flags & ML_DONTPEGBOTTOM) // alternate alpha (by texture offsets)
{
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));
@ -3307,7 +3305,6 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
else
sectors[secnum].extra_colormap = line->frontsector->extra_colormap;
}
}
break;
case 448: // Change skybox viewpoint/centerpoint