allow the server to run when there's no input

This commit is contained in:
Bill Currie 2003-04-16 15:43:55 +00:00
parent 589c3e4e49
commit ce44d350b7

View file

@ -142,8 +142,7 @@ main (int argc, const char *argv[])
// main loop // main loop
oldtime = Sys_DoubleTime () - 0.1; oldtime = Sys_DoubleTime () - 0.1;
while (1) { while (1) {
if (!Sys_CheckInput (!svs.num_clients, net_socket)) Sys_CheckInput (!svs.num_clients, net_socket);
continue;
// find time passed since last cycle // find time passed since last cycle
newtime = Sys_DoubleTime (); newtime = Sys_DoubleTime ();