diff --git a/engine/common/host.c b/engine/common/host.c index 9dc606e3..48df08dd 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -675,11 +675,19 @@ Host_Frame */ void Host_Frame( float time ) { - Host_CheckSleep(); + static qboolean slept = false; // decide the simulation time if( !Host_FilterTime( time )) + { + if( !slept ) + { + Host_CheckSleep(); + slept = true; + } return; + } + slept = false; Host_InputFrame (); // input frame Host_ClientBegin (); // begin client