]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/terrain/terrain.factor
game.loop: fps word to divide a value into 1,000,000
[factor.git] / extra / terrain / terrain.factor
index 370c7634a710d9c12c9e426879cfeecd38d71195..f28e685c6680199f16cbf61c06b98544a8879996 100644 (file)
@@ -297,5 +297,5 @@ GAME: terrain-game {
         } }
         { grab-input? t }
         { pref-dim { 1024 768 } }
-        { tick-interval-micros $[ 1,000,000 60 /i ] }
+        { tick-interval-micros $[ 60 fps ] }
     } ;