]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
increased tolerance on warnings in DEBUGMOVES code
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 7 May 2007 02:49:10 +0000 (02:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 7 May 2007 02:49:10 +0000 (02:49 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7239 d7cf8633-e32d-0410-b094-e92efae38249

sv_user.c

index 4dbc716e4811b2acadbe2a5d84edcdca15bdb9cd..f00cc3ad474381ff9e4a3dc73670dfca7e4738d0 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -589,7 +589,7 @@ void SV_ExecuteClientMoves(void)
                        if (host_client->movesequence < move->sequence || moveindex == sv_numreadmoves - 1)
                        {
 #if DEBUGMOVES
-                               Con_Printf("%smove #%i %ims (%ims) %i %i '%i %i %i' '%i %i %i'\n", (move->time - host_client->cmd.time) > sv.frametime ? "^1" : "^2", move->sequence, (int)floor((move->time - host_client->cmd.time) * 1000.0 + 0.5), (int)floor(move->time * 1000.0 + 0.5), move->impulse, move->buttons, (int)move->viewangles[0], (int)move->viewangles[1], (int)move->viewangles[2], (int)move->forwardmove, (int)move->sidemove, (int)move->upmove);
+                               Con_Printf("%smove #%i %ims (%ims) %i %i '%i %i %i' '%i %i %i'\n", (move->time - host_client->cmd.time) > sv.frametime * 1.01 ? "^1" : "^2", move->sequence, (int)floor((move->time - host_client->cmd.time) * 1000.0 + 0.5), (int)floor(move->time * 1000.0 + 0.5), move->impulse, move->buttons, (int)move->viewangles[0], (int)move->viewangles[1], (int)move->viewangles[2], (int)move->forwardmove, (int)move->sidemove, (int)move->upmove);
 #endif
                                // this is a new move
                                moveframetime = bound(0, move->time - host_client->cmd.time, 0.1);