]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
Lots of str[n]cat, str[n]cpy, and [v]sprintf have been replaced by strlcat, strlcpy...
[xonotic/darkplaces.git] / cl_input.c
index 53438e56f41e59501ed4ac241e5037a3eff6822c..84687da64629cfd7ac10c0a94bc91d7de3c8ea27 100644 (file)
@@ -445,11 +445,13 @@ void CL_SendMove(usercmd_t *cmd)
        {
                if (cl.entitydatabase4)
                {
-                       MSG_WriteByte(&buf, clc_ackentities);
+                       i = cl.entitydatabase4->ackframenum;
                        if (cl_nodelta.integer)
-                               MSG_WriteLong(&buf, -1);
-                       else
-                               MSG_WriteLong(&buf, cl.entitydatabase4->ackframenum);
+                               i = -1;
+                       if (developer_networkentities.integer >= 1)
+                               Con_Printf("send clc_ackentities %i\n", i);
+                       MSG_WriteByte(&buf, clc_ackentities);
+                       MSG_WriteLong(&buf, i);
                }
        }