[nq] Propagate demoplayback over CL_ClearMemory

Because demoplayback seen by the shared client code is in viewstate and
that's in cl, it gets set to 0 when connecting, thus the network icon
while playing demos.
This commit is contained in:
Bill Currie 2022-11-07 10:36:56 +09:00
parent 4dccad656f
commit 4197d4a800

View file

@ -233,6 +233,7 @@ CL_ClearMemory (void)
memset (&cl, 0, sizeof (cl));
Sbar_Intermission (cl.intermission = 0);
cl.viewstate.camera_transform = cam;
cl.viewstate.demoplayback = cls.demoplayback;
CL_ClearTEnts ();