From eb7e0ec1d7236c69446709a6aa23526b18707dd1 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 31 Jul 2013 23:21:35 -0400 Subject: Floor tick-interval since we're dealing with milliseconds and not fractions of milliseconds. --- 2d/game-loop.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2d') diff --git a/2d/game-loop.scm b/2d/game-loop.scm index c647ebe..affdb8b 100644 --- a/2d/game-loop.scm +++ b/2d/game-loop.scm @@ -41,7 +41,7 @@ (define target-fps 60) (define *fps* 0) -(define tick-interval (/ 1000 target-fps)) +(define tick-interval (floor (/ 1000 target-fps))) ;;; ;;; Hooks -- cgit v1.2.3