]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
server no longer calls networking on each physics frame (since sv.datagram
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 Apr 2007 13:37:42 +0000 (13:37 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 Apr 2007 13:37:42 +0000 (13:37 +0000)
is no longer important)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7110 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 6d1788a9d9d56ad82ff6df6be16df5282dcc8194..455f55d5b4e9b5093a8df0fe1d8635e28af9bd2b 100644 (file)
--- a/host.c
+++ b/host.c
@@ -731,14 +731,14 @@ void Host_Main(void)
                                if (sv.frametime)
                                        SV_Physics();
 
-                               // send all messages to the clients
-                               SV_SendClientMessages();
-
                                // if this server frame took too long, break out of the loop
                                if (framelimit > 1 && Sys_DoubleTime() >= aborttime)
                                        break;
                        }
 
+                       // send all messages to the clients
+                       SV_SendClientMessages();
+
                        // end the server VM frame
                        SV_VM_End();