Fix Amy cameo's love hearts crashing the Software renderer due to invalid translucency tables

This commit is contained in:
Jaime Passos 2020-02-24 20:03:08 -03:00
parent 711c8ed6b4
commit fe93155578

View file

@ -8001,8 +8001,9 @@ static void P_MobjSceneryThink(mobj_t *mobj)
} }
if (mobj->fuse < 0) if (mobj->fuse < 0)
return; return;
if ((--mobj->fuse) < 6) if (mobj->fuse < 6)
mobj->frame = (mobj->frame & ~FF_TRANSMASK) | ((10 - (mobj->fuse*2)) << (FF_TRANSSHIFT)); mobj->frame = (mobj->frame & ~FF_TRANSMASK) | ((10 - (mobj->fuse*2)) << (FF_TRANSSHIFT));
mobj->fuse--;
} }
break; break;
case MT_FINISHFLAG: case MT_FINISHFLAG: