mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 11:21:11 +00:00
447: ResetColormapFader when changing colormap explicitly
This commit is contained in:
parent
c4079dfca9
commit
4d9925e8cf
1 changed files with 2 additions and 0 deletions
|
@ -3260,6 +3260,8 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
||||||
// -- Monster Iestyn 14/06/18
|
// -- Monster Iestyn 14/06/18
|
||||||
for (secnum = -1; (secnum = P_FindSectorFromLineTag(line, secnum)) >= 0 ;)
|
for (secnum = -1; (secnum = P_FindSectorFromLineTag(line, secnum)) >= 0 ;)
|
||||||
{
|
{
|
||||||
|
P_ResetColormapFader(§ors[secnum]);
|
||||||
|
|
||||||
if (line->flags & ML_EFFECT3) // relative calc
|
if (line->flags & ML_EFFECT3) // relative calc
|
||||||
{
|
{
|
||||||
extracolormap_t *exc = R_AddColormaps(
|
extracolormap_t *exc = R_AddColormaps(
|
||||||
|
|
Loading…
Reference in a new issue