mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-11 03:42:43 +00:00
447: Allow relative calc from backside colormap (ML_TFERLINE)
This commit is contained in:
parent
6f0b28c48f
commit
4d26cf6330
1 changed files with 2 additions and 1 deletions
|
@ -3260,7 +3260,8 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
|||
if (line->flags & ML_EFFECT3) // relative calc
|
||||
{
|
||||
extracolormap_t *exc = R_AddColormaps(
|
||||
sectors[secnum].extra_colormap, line->frontsector->extra_colormap,
|
||||
(line->flags & ML_TFERLINE) ? line->backsector->extra_colormap : sectors[secnum].extra_colormap, // use back colormap instead of target sector
|
||||
line->frontsector->extra_colormap,
|
||||
line->flags & ML_EFFECT1, // subtract R
|
||||
line->flags & ML_NOCLIMB, // subtract G
|
||||
line->flags & ML_EFFECT2, // subtract B
|
||||
|
|
Loading…
Reference in a new issue