mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-07 10:34:48 +00:00
455: Don't interrupt current color fading
This commit is contained in:
parent
c462bd4b17
commit
64b96c7192
1 changed files with 5 additions and 0 deletions
|
@ -3378,6 +3378,11 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
|||
{
|
||||
extracolormap_t *source_exc, *dest_exc, *exc;
|
||||
|
||||
// Prevent continuous execs from interfering on an existing fade
|
||||
if (!(line->flags & ML_EFFECT5)
|
||||
&& sectors[secnum].fadecolormapdata)
|
||||
continue;
|
||||
|
||||
if (line->flags & ML_TFERLINE) // use back colormap instead of target sector
|
||||
sectors[secnum].extra_colormap = (line->sidenum[1] != 0xFFFF) ?
|
||||
sides[line->sidenum[1]].colormap_data : NULL;
|
||||
|
|
Loading…
Reference in a new issue