Remove one unnecessary loop in the beginning
This commit is contained in:
parent
1c3ecb3d3c
commit
265d6e0374
|
@ -3100,8 +3100,13 @@ void Com_Frame( void ) {
|
||||||
else
|
else
|
||||||
minMsec = 1;
|
minMsec = 1;
|
||||||
|
|
||||||
timeVal = 0;
|
msec = Sys_Milliseconds() - com_frameTime;
|
||||||
|
|
||||||
|
if(msec >= minMsec)
|
||||||
|
timeVal = 0;
|
||||||
|
else
|
||||||
|
timeVal = minMsec - msec;
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if(com_sv_running->integer)
|
if(com_sv_running->integer)
|
||||||
|
|
Loading…
Reference in New Issue