]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 9071b890de7fc6ce4cf0384be7067a22763f60a9..6f8df54f3b942e9d59c4215e107a2ed5d15d4a31 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;