(no commit message)
[atyndall/cits2231.git] / 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