mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Sync turnobjs for polyrotate_t thinkers in netgames
This commit is contained in:
parent
04c7eeb6ae
commit
9e4ed738b7
1 changed files with 2 additions and 0 deletions
|
@ -2023,6 +2023,7 @@ static inline void SavePolyrotatetThinker(const thinker_t *th, const UINT8 type)
|
|||
WRITEINT32(save_p, ht->polyObjNum);
|
||||
WRITEINT32(save_p, ht->speed);
|
||||
WRITEINT32(save_p, ht->distance);
|
||||
WRITEUINT8(save_p, ht->turnobjs);
|
||||
}
|
||||
|
||||
static void SavePolymoveThinker(const thinker_t *th, const UINT8 type)
|
||||
|
@ -3155,6 +3156,7 @@ static inline thinker_t* LoadPolyrotatetThinker(actionf_p1 thinker)
|
|||
ht->polyObjNum = READINT32(save_p);
|
||||
ht->speed = READINT32(save_p);
|
||||
ht->distance = READINT32(save_p);
|
||||
ht->turnobjs = READUINT8(save_p);
|
||||
return &ht->thinker;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue