r4261 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Aug 30 11:14:32 EDT 2008


Author: div0
Date: 2008-08-30 11:14:32 -0400 (Sat, 30 Aug 2008)
New Revision: 4261

Modified:
   trunk/data/qcsrc/client/View.qc
Log:
workaround for decreasing time


Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc	2008-08-30 14:14:30 UTC (rev 4260)
+++ trunk/data/qcsrc/client/View.qc	2008-08-30 15:14:32 UTC (rev 4261)
@@ -90,7 +90,7 @@
 	entity e;
 	float fov;
 
-	drawframetime = time - drawtime;
+	drawframetime = max(0.000001, time - drawtime);
 	drawtime = time;
 
 	// watch for gametype changes here...




More information about the nexuiz-commits mailing list