diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-07-31 22:51:07 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-07-31 22:51:07 -0400 |
commit | 6c1fb80498af1ad2767ab200132de2a31aece4ae (patch) | |
tree | d5ec9c2b904c3cb61c9ecabc49c246832a95a3e3 /2d | |
parent | af6bf9d960b0135d960c195c67a0f5fa34e9d656 (diff) |
Use the current-time argument in time-left.
Diffstat (limited to '2d')
-rw-r--r-- | 2d/game-loop.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2d/game-loop.scm b/2d/game-loop.scm index d8554db..5ba0889 100644 --- a/2d/game-loop.scm +++ b/2d/game-loop.scm @@ -138,7 +138,7 @@ is the unused accumulator time." accumulator)) (define (time-left current-time next-time) - (max (floor (- next-time (SDL:get-ticks))) 0)) + (max (floor (- next-time current-time)) 0)) ;;; ;;; Game Loop |