(no commit message)
authorAsh Tyndall <[email protected]>
Sat, 22 Oct 2011 01:33:54 +0000 (09:33 +0800)
committerAsh Tyndall <[email protected]>
Sat, 22 Oct 2011 01:33:54 +0000 (09:33 +0800)
scene.c

diff --git a/scene.c b/scene.c
index d73df53..45a71a9 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -310,7 +310,7 @@ void motion(int x, int y) {
         float diff = (y - starty);\r
         float scaling;\r
 \r
-        if ( scaling < 0 ) {\r
+        if ( diff < 0 ) {\r
           scaling = (x - -height)/(0 - -height);\r
         } else {\r
           scaling = diff;\r

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