hedgewars/GSHandlers.inc
changeset 1920 302835d554d8
parent 1919 390d3f685a80
child 1922 88cdabb51995
--- a/hedgewars/GSHandlers.inc	Thu Mar 26 14:03:46 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Thu Mar 26 16:20:01 2009 +0000
@@ -29,7 +29,7 @@
     skipAngle:= _1 + _0_9;  // these should perhaps also be constants, once work out what proper values are
     skipDecay:= _0_87;  // this could perhaps be a tiny bit higher.
     if  (hwSqr(Gear^.dX) + hwSqr(Gear^.dY) > skipSpeed) and
-        (hwAbs(Gear^.dX) > skipAngle * hwAbs(Gear^.dY) then
+        (hwAbs(Gear^.dX) > skipAngle * hwAbs(Gear^.dY)) then
        begin
        Gear^.dY.isNegative:= true;
        Gear^.dY:= Gear^.dY * skipDecay;