]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
count empty packets in rate limiting
[xonotic/darkplaces.git] / sv_user.c
index b57ccbaab7cb896f05c8870f5cfd7ddd32860454..4dbc716e4811b2acadbe2a5d84edcdca15bdb9cd 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -615,10 +615,8 @@ void SV_ExecuteClientMoves(void)
                                if (sv.frametime > 0.05)
                                {
                                        prog->globals.server->frametime = sv.frametime = moveframetime * 0.5f;
-                                       SV_ClientThink();
                                        SV_Physics_ClientMove();
                                }
-                               SV_ClientThink();
                                SV_Physics_ClientMove();
                                sv.frametime = oldframetime2;
                                prog->globals.server->frametime = oldframetime;
@@ -855,7 +853,7 @@ void SV_ReadClientMessage(void)
                        if (msg_badread) Con_Printf("SV_ReadClientMessage: badread at %s:%i\n", __FILE__, __LINE__);
                        num = MSG_ReadLong();
                        if (msg_badread) Con_Printf("SV_ReadClientMessage: badread at %s:%i\n", __FILE__, __LINE__);
-                       if (developer_networkentities.integer >= 1)
+                       if (developer_networkentities.integer >= 10)
                                Con_Printf("recv clc_ackframe %i\n", num);
                        // if the client hasn't progressed through signons yet,
                        // ignore any clc_ackframes we get (they're probably from the