mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 22:33:32 +00:00
Revert these
This commit is contained in:
parent
fd41bf188d
commit
d6b92de691
1 changed files with 2 additions and 2 deletions
|
@ -1893,7 +1893,7 @@ static void SaveMobjThinker(const thinker_t *th, const UINT8 type)
|
||||||
if (diff & MD_RTIME)
|
if (diff & MD_RTIME)
|
||||||
WRITEINT32(save_p, mobj->reactiontime);
|
WRITEINT32(save_p, mobj->reactiontime);
|
||||||
if (diff & MD_STATE)
|
if (diff & MD_STATE)
|
||||||
WRITEUINT32(save_p, mobj->state-states);
|
WRITEUINT16(save_p, mobj->state-states);
|
||||||
if (diff & MD_TICS)
|
if (diff & MD_TICS)
|
||||||
WRITEINT32(save_p, mobj->tics);
|
WRITEINT32(save_p, mobj->tics);
|
||||||
if (diff & MD_SPRITE) {
|
if (diff & MD_SPRITE) {
|
||||||
|
@ -2917,7 +2917,7 @@ static thinker_t* LoadMobjThinker(actionf_p1 thinker)
|
||||||
mobj->reactiontime = mobj->info->reactiontime;
|
mobj->reactiontime = mobj->info->reactiontime;
|
||||||
|
|
||||||
if (diff & MD_STATE)
|
if (diff & MD_STATE)
|
||||||
mobj->state = &states[READUINT32(save_p)];
|
mobj->state = &states[READUINT16(save_p)];
|
||||||
else
|
else
|
||||||
mobj->state = &states[mobj->info->spawnstate];
|
mobj->state = &states[mobj->info->spawnstate];
|
||||||
if (diff & MD_TICS)
|
if (diff & MD_TICS)
|
||||||
|
|
Loading…
Reference in a new issue