From 48933f08626e67c7b5b532ff002cde7563b4dfd7 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Sun, 14 Oct 2007 20:32:21 +0000 Subject: [PATCH] Temporary workaround for the DP_SV_BOTCLIENT speedbug on listen servers. Needs some proper fixing! git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2745 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_phys.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/server/sv_phys.c b/engine/server/sv_phys.c index a21707475..e1ad93d88 100644 --- a/engine/server/sv_phys.c +++ b/engine/server/sv_phys.c @@ -2031,7 +2031,12 @@ qboolean SV_Physics (void) SV_PreRunCmd(); +#ifdef SERVERONLY ucmd.msec = host_frametime*1000; +#else + // FIXME: Something very weird is going on here! + ucmd.msec = 0; +#endif ucmd.angles[0] = (int)(sv_player->v->angles[0] * (65535/360.0f)); ucmd.angles[1] = (int)(sv_player->v->angles[1] * (65535/360.0f)); ucmd.angles[2] = (int)(sv_player->v->angles[2] * (65535/360.0f));