fix accuracy issue in timerefresh
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 2 Nov 2011 15:59:09 +0000 (15:59 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 2 Nov 2011 15:59:09 +0000 (15:59 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11520 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index 9071b89..6f8df54 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -2015,7 +2015,7 @@ For program optimization
 static void CL_TimeRefresh_f (void)
 {
        int i;
-       float timestart, timedelta;
+       double timestart, timedelta;
 
        r_refdef.scene.extraupdate = false;