mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Fix Amy cameo's love hearts crashing the Software renderer due to invalid translucency tables
This commit is contained in:
parent
711c8ed6b4
commit
fe93155578
1 changed files with 3 additions and 2 deletions
|
@ -8001,8 +8001,9 @@ static void P_MobjSceneryThink(mobj_t *mobj)
|
|||
}
|
||||
if (mobj->fuse < 0)
|
||||
return;
|
||||
if ((--mobj->fuse) < 6)
|
||||
if (mobj->fuse < 6)
|
||||
mobj->frame = (mobj->frame & ~FF_TRANSMASK) | ((10 - (mobj->fuse*2)) << (FF_TRANSSHIFT));
|
||||
mobj->fuse--;
|
||||
}
|
||||
break;
|
||||
case MT_FINISHFLAG:
|
||||
|
@ -11594,7 +11595,7 @@ void P_AfterPlayerSpawn(INT32 playernum)
|
|||
|
||||
if (CheckForReverseGravity)
|
||||
P_CheckGravity(mobj, false);
|
||||
|
||||
|
||||
if (p->pflags & PF_FINISHED)
|
||||
P_GiveFinishFlags(p);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue