From: havoc Date: Fri, 3 Mar 2006 14:51:07 +0000 (+0000) Subject: move SV_ClearDatagram call to eliminate missing weapon/pickup effects bug when using... X-Git-Tag: xonotic-v0.1.0preview~4264 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e598d70690e1db7f8e3012341a03b85f9b8237bd;p=xonotic%2Fdarkplaces.git move SV_ClearDatagram call to eliminate missing weapon/pickup effects bug when using cl_movement 1 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6050 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index c0a8d30c..bd4760e6 100644 --- a/host.c +++ b/host.c @@ -699,8 +699,6 @@ void Host_ServerFrame (void) if (sv.paused || (cl.islocalgame && (key_dest != key_game || key_consoleactive))) sv.frametime = 0; - // set the time and clear the general datagram - SV_ClearDatagram(); // move things around and think unless paused if (sv.frametime) @@ -709,6 +707,9 @@ void Host_ServerFrame (void) // send all messages to the clients SV_SendClientMessages(); + // clear the general datagram + SV_ClearDatagram(); + // if this server frame took too long, break out of the loop if (Sys_DoubleTime() >= aborttime) break;