(no commit message)
authorAsh Tyndall <[email protected]>
Sat, 22 Oct 2011 02:11:52 +0000 (10:11 +0800)
committerAsh Tyndall <[email protected]>
Sat, 22 Oct 2011 02:11:52 +0000 (10:11 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 8bf5f29..fcbda4a 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -314,7 +314,7 @@ void motion(int x, int y) {
         if ( diff < 0 ) {\r
           scaling = map;\r
         } else {\r
-          scaling = pow(1/map, diff);\r
+          scaling = pow(1.0/map, diff);\r
         }\r
 \r
         if ( scaling != 0 ) {\r

UCC git Repository :: git.ucc.asn.au