Fix fade_t handleflags to UINT32

This commit is contained in:
mazmazz 2018-03-31 00:02:37 -04:00
parent bf0f24b16e
commit c13f561b50
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}

View file

@ -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);