Merge branch 'archive-sprite2-hotfix' into 'master'

Archive sprite2 Hotfix

See merge request STJr/SRB2!845
This commit is contained in:
Monster Iestyn 2020-03-09 15:50:55 -04:00
commit db6a3bbd1f
1 changed files with 1 additions and 1 deletions

View File

@ -1406,7 +1406,7 @@ static void SaveMobjThinker(const thinker_t *th, const UINT8 type)
diff |= MD_TICS;
if (mobj->sprite != mobj->state->sprite)
diff |= MD_SPRITE;
if (mobj->sprite == SPR_PLAY && mobj->sprite2 != 0)
if (mobj->sprite == SPR_PLAY && mobj->sprite2 != (mobj->state->frame&FF_FRAMEMASK))
diff |= MD_SPRITE;
if (mobj->frame != mobj->state->frame)
diff |= MD_FRAME;