diff options
author | Simon Howard | 2006-02-27 17:57:39 +0000 |
---|---|---|
committer | Simon Howard | 2006-02-27 17:57:39 +0000 |
commit | 62c214be727d68e11d27520068cc5ddee5778198 (patch) | |
tree | b2ffd5b539f7c847afdc486bf90dfaa3ac1d47df /src | |
parent | 41cdd5785305a28912fa2d6231ec8f518a850ec9 (diff) | |
download | chocolate-doom-62c214be727d68e11d27520068cc5ddee5778198.tar.gz chocolate-doom-62c214be727d68e11d27520068cc5ddee5778198.tar.bz2 chocolate-doom-62c214be727d68e11d27520068cc5ddee5778198.zip |
Reduce the maximum latency to stop the game pausing and shooting ahead.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 395
Diffstat (limited to 'src')
-rw-r--r-- | src/d_net.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d_net.c b/src/d_net.c index ea39ace1..976d9aa3 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: d_net.c 394 2006-02-27 16:31:08Z fraggle $ +// $Id: d_net.c 395 2006-02-27 17:57:39Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -117,7 +117,7 @@ //----------------------------------------------------------------------------- -static const char rcsid[] = "$Id: d_net.c 394 2006-02-27 16:31:08Z fraggle $"; +static const char rcsid[] = "$Id: d_net.c 395 2006-02-27 17:57:39Z fraggle $"; #include "d_main.h" @@ -224,9 +224,9 @@ void NetUpdate (void) if ((!netgame || demoplayback) && maketic - gameticdiv > 2) break; - // Never go more than a second ahead + // Never go more than ~200ms ahead - if (maketic - gameticdiv > 35) + if (maketic - gameticdiv > 8) break; //printf ("mk:%i ",maketic); |