summaryrefslogtreecommitdiffstats
path: root/src/core/Timer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/Timer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h
index 00a11409..004cda4d 100644
--- a/src/core/Timer.h
+++ b/src/core/Timer.h
@@ -56,6 +56,11 @@ public:
friend bool GenericLoad(void);
friend bool GenericSave(int file);
+
+#ifdef FIX_BUGS
+ static float GetDefaultTimeStep(void) { return 5.0f / 3.0f; }
+ static float GetTimeStepFix(void) { return GetTimeStep() / GetDefaultTimeStep(); }
+#endif
};
#ifdef FIX_BUGS