]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Call resendcsqcents to get the full CSQC entities into the start of the demo des/demo_rerecord
authorDes <xon@damianv.com.ar>
Mon, 5 Aug 2024 18:44:20 +0000 (15:44 -0300)
committerDes <xon@damianv.com.ar>
Mon, 5 Aug 2024 18:44:20 +0000 (15:44 -0300)
cl_demo.c

index b61ebf26441ac4fbbf9803b50d808c1ad6cb3208..65f0ae86584bb47117257b06b6132a4ff11ffbbf 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -510,6 +510,10 @@ void CL_Record_f(cmd_state_t *cmd)
 
                CL_WriteDemoMessage(&buf);
 
+               // request server all csqc entities
+               MSG_WriteByte(&cls.netcon->message, clc_stringcmd);
+               MSG_WriteString(&cls.netcon->message, "resendcsqcents");
+
        }
        else
        {