mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 14:12:47 +00:00
453: Use new colormap netsync for fade FOF thinker
This commit is contained in:
parent
20537f1310
commit
70a672229c
1 changed files with 2 additions and 2 deletions
|
|
@ -1609,7 +1609,7 @@ static void SaveFadeThinker(const thinker_t *th, const UINT8 type)
|
|||
{
|
||||
const fade_t *ht = (const void *)th;
|
||||
WRITEUINT8(save_p, type);
|
||||
SaveExtraColormap(save_p, ht->dest_exc);
|
||||
WRITEUINT32(save_p, CheckAddNetColormapToList(ht->dest_exc));
|
||||
WRITEUINT32(save_p, ht->sectornum);
|
||||
WRITEUINT32(save_p, ht->ffloornum);
|
||||
WRITEINT32(save_p, ht->alpha);
|
||||
|
|
@ -2624,7 +2624,7 @@ static inline void LoadFadeThinker(actionf_p1 thinker)
|
|||
sector_t *ss;
|
||||
fade_t *ht = Z_Malloc(sizeof (*ht), PU_LEVSPEC, NULL);
|
||||
ht->thinker.function.acp1 = thinker;
|
||||
ht->dest_exc = LoadExtraColormap(save_p);
|
||||
ht->dest_exc = GetNetColormapFromList(READUINT32(save_p));
|
||||
ht->sectornum = READUINT32(save_p);
|
||||
ht->ffloornum = READUINT32(save_p);
|
||||
ht->alpha = READINT32(save_p);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue