ref: 62c214be727d68e11d27520068cc5ddee5778198
parent: 41cdd5785305a28912fa2d6231ec8f518a850ec9
author: Simon Howard <fraggle@gmail.com>
date: Mon Feb 27 12:57:39 EST 2006
Reduce the maximum latency to stop the game pausing and shooting ahead. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 395
--- 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 @@
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);