From ce71bc08473217ba56d4988fc3d5aac8f2d5a327 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Mon, 11 Mar 2013 02:00:25 -0300 Subject: [PATCH] Fixed love.timer.step / dt --- src/modules/timer/sdl/Timer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/timer/sdl/Timer.h b/src/modules/timer/sdl/Timer.h index 913cdcb1b..ea6cf6156 100644 --- a/src/modules/timer/sdl/Timer.h +++ b/src/modules/timer/sdl/Timer.h @@ -64,9 +64,9 @@ public: private: // Frame delta vars. - Uint32 currTime; - Uint32 prevTime; - Uint32 prevFpsUpdate; + double currTime; + double prevTime; + double prevFpsUpdate; // Updated with a certain frequency. int fps;