mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-22 11:51:41 +00:00
Formatting
This commit is contained in:
parent
7767adbf32
commit
cb2ac9b4d3
1 changed files with 12 additions and 15 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue