From 14339d651d970c9c382443200da62ffc321cf46d Mon Sep 17 00:00:00 2001
From: mazmazz <mar.marcoz@outlook.com>
Date: Mon, 17 Sep 2018 00:34:03 -0400
Subject: [PATCH] 453: Use new colormap netsync for fade FOF thinker

---
 src/p_saveg.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/p_saveg.c b/src/p_saveg.c
index f57b44817..f4f698d4f 100644
--- a/src/p_saveg.c
+++ b/src/p_saveg.c
@@ -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);