Remove the CONFIG_CD macro, and enable faketracks unconditionally.
[xonotic/darkplaces.git] / timing.h
index 3dd3602..33da858 100644 (file)
--- a/timing.h
+++ b/timing.h
@@ -25,15 +25,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #if defined(DO_TIMING)
 
-#define TIMING_BEGIN   double _timing_end_, _timing_start_ = Sys_DoubleTime();
+#define TIMING_BEGIN   double _timing_end_, _timing_start_ = Sys_DirtyTime();
 #define TIMING_END_STR(S)              \
-  _timing_end_ = Sys_DoubleTime();     \
+  _timing_end_ = Sys_DirtyTime();      \
   Con_Printf ("%s: %.3g s\n", S, _timing_end_ - _timing_start_);
 #define TIMING_END     TIMING_END_STR(__FUNCTION__)
 
 #define TIMING_INTERMEDIATE(S)                                         \
   {                                                                    \
-    double currentTime = Sys_DoubleTime();                             \
+    double currentTime = Sys_DirtyTime();                              \
     Con_Printf ("%s: %.3g s\n", S, currentTime - _timing_start_);      \
   }
   
@@ -54,4 +54,5 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #endif
 
-#endif // __TIMING_H__
\ No newline at end of file
+#endif // __TIMING_H__
+