diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 4e52df6d..ce1e8765 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -3100,8 +3100,13 @@ void Com_Frame( void ) { else minMsec = 1; - timeVal = 0; - + msec = Sys_Milliseconds() - com_frameTime; + + if(msec >= minMsec) + timeVal = 0; + else + timeVal = minMsec - msec; + do { if(com_sv_running->integer)