455: Don't interrupt current color fading

This commit is contained in:
mazmazz 2018-09-17 21:16:27 -04:00
parent c462bd4b17
commit 64b96c7192
1 changed files with 5 additions and 0 deletions

View File

@ -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;