]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
move SV_ClearDatagram call to eliminate missing weapon/pickup effects bug when using...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Mar 2006 14:51:07 +0000 (14:51 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Mar 2006 14:51:07 +0000 (14:51 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6050 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index c0a8d30c95a62bc9d07eeb7649b58b4be3307439..bd4760e6a91837f3ca9d735f93774d9106fac154 100644 (file)
--- 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;