mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
447: Allow relative calc from backside colormap (ML_TFERLINE)
This commit is contained in:
parent
cb958d5bbf
commit
a799917ccb
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
|
if (line->flags & ML_EFFECT3) // relative calc
|
||||||
{
|
{
|
||||||
extracolormap_t *exc = R_AddColormaps(
|
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_EFFECT1, // subtract R
|
||||||
line->flags & ML_NOCLIMB, // subtract G
|
line->flags & ML_NOCLIMB, // subtract G
|
||||||
line->flags & ML_EFFECT2, // subtract B
|
line->flags & ML_EFFECT2, // subtract B
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue