summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-07-31 23:21:35 -0400
committerDavid Thompson <dthompson2@worcester.edu>2013-07-31 23:21:35 -0400
commiteb7e0ec1d7236c69446709a6aa23526b18707dd1 (patch)
tree4f03065fcef37277b543de4c39ae872685b16fb1
parent0cffeca8e10767d2177d8a38a0d4a5beb861ef84 (diff)
Floor tick-interval since we're dealing with milliseconds and not fractions of milliseconds.
-rw-r--r--2d/game-loop.scm2
1 files changed, 1 insertions, 1 deletions
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