mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-16 17:51:31 +00:00
Merge branch 'hotfix-netgame-spr2' into 'master'
Hotfix netgame sprite2 This fixes sprite2 not being properly added to $$$.sav because MD_SPRITE wasn't getting set. See merge request !2
This commit is contained in:
commit
aa7c671358
1 changed files with 2 additions and 0 deletions
|
@ -1052,6 +1052,8 @@ 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)
|
||||
diff |= MD_SPRITE;
|
||||
if (mobj->frame != mobj->state->frame)
|
||||
diff |= MD_FRAME;
|
||||
if (mobj->eflags)
|
||||
|
|
Loading…
Reference in a new issue