From b91ceddcbf10b3c2fef55d311ea47dc408029dba Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Fri, 12 Feb 2021 20:27:14 -0500 Subject: [PATCH] Sync numbulbs I don't think this has ever caused issues (numbulbs is just for HUD), but the drawn bulbs on start up might as well be synched if the starttime needs to be resynched too. --- src/p_saveg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/p_saveg.c b/src/p_saveg.c index 0eff1e1d3..7ea1decdf 100644 --- a/src/p_saveg.c +++ b/src/p_saveg.c @@ -4178,6 +4178,7 @@ static void P_NetArchiveMisc(void) WRITEUINT32(save_p, introtime); WRITEUINT32(save_p, starttime); + WRITEUINT8(save_p, numbulbs); // Is it paused? if (paused) @@ -4312,6 +4313,7 @@ static inline boolean P_NetUnArchiveMisc(void) introtime = READUINT32(save_p); starttime = READUINT32(save_p); + numbulbs = READUINT8(save_p); // Is it paused? if (READUINT8(save_p) == 0x2f)