mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Fix fade_t handleflags to UINT32
This commit is contained in:
parent
bf0f24b16e
commit
c13f561b50
2 changed files with 3 additions and 3 deletions
|
@ -1565,7 +1565,7 @@ static void SaveFadeThinker(const thinker_t *th, const UINT8 type)
|
|||
WRITEINT32(save_p, ht->affectee);
|
||||
WRITEINT32(save_p, ht->destvalue);
|
||||
WRITEINT32(save_p, ht->speed);
|
||||
WRITEUINT8(save_p, ht->handleflags);
|
||||
WRITEUINT32(save_p, ht->handleflags);
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -2563,7 +2563,7 @@ static inline void LoadFadeThinker(actionf_p1 thinker)
|
|||
ht->affectee = READINT32(save_p);
|
||||
ht->destvalue = READINT32(save_p);
|
||||
ht->speed = READINT32(save_p);
|
||||
ht->handleflags = READUINT8(save_p);
|
||||
ht->handleflags = READUINT32(save_p);
|
||||
P_AddThinker(&ht->thinker);
|
||||
}
|
||||
|
||||
|
|
|
@ -456,7 +456,7 @@ typedef struct
|
|||
INT32 affectee; ///< Number of affected line
|
||||
INT32 destvalue; ///< Transparency value to fade to
|
||||
INT32 speed; ///< Speed to fade by
|
||||
UINT8 handleflags; ///< Do not handle FF_EXISTS
|
||||
UINT32 handleflags; ///< FOF flags to handle
|
||||
} fade_t;
|
||||
|
||||
void T_Fade(fade_t *d);
|
||||
|
|
Loading…
Reference in a new issue