From 4197d4a80032a735dc43c45a7c175d3d7e964272 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 7 Nov 2022 10:36:56 +0900 Subject: [PATCH] [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. --- nq/source/cl_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nq/source/cl_main.c b/nq/source/cl_main.c index b6403481a..4ee56a8a6 100644 --- a/nq/source/cl_main.c +++ b/nq/source/cl_main.c @@ -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 ();