mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Sync turnobjs for polyrotate_t thinkers in netgames
This commit is contained in:
parent
24ff9d05e5
commit
cc491d0a1e
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…
Add table
Reference in a new issue