[quake3-commits] r2080 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jul 13 15:16:25 EDT 2011
Author: thilo
Date: 2011-07-13 15:16:25 -0400 (Wed, 13 Jul 2011)
New Revision: 2080
Modified:
trunk/code/qcommon/common.c
Log:
Remove one unnecessary loop in the beginning
Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c 2011-07-13 18:57:32 UTC (rev 2079)
+++ trunk/code/qcommon/common.c 2011-07-13 19:16:25 UTC (rev 2080)
@@ -3100,8 +3100,13 @@
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)
More information about the quake3-commits
mailing list