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.
This commit is contained in:
Sally Coolatta 2021-02-12 20:27:14 -05:00
parent e2dcc35bcd
commit b91ceddcbf

View file

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