mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Hotfix for sprite2 in netgames
It wasn't properly added to $$$.sav because MD_SPRITE didn't get set. :/
This commit is contained in:
parent
91934d5aec
commit
b601dad4cd
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;
|
diff |= MD_TICS;
|
||||||
if (mobj->sprite != mobj->state->sprite)
|
if (mobj->sprite != mobj->state->sprite)
|
||||||
diff |= MD_SPRITE;
|
diff |= MD_SPRITE;
|
||||||
|
if (mobj->sprite == SPR_PLAY && mobj->sprite2 != 0)
|
||||||
|
diff |= MD_SPRITE;
|
||||||
if (mobj->frame != mobj->state->frame)
|
if (mobj->frame != mobj->state->frame)
|
||||||
diff |= MD_FRAME;
|
diff |= MD_FRAME;
|
||||||
if (mobj->eflags)
|
if (mobj->eflags)
|
||||||
|
|
Loading…
Reference in a new issue