hedgewars/HHHandlers.inc
changeset 1528 3fee15104c1d
parent 1519 7b6adbe5266a
child 1573 cf88e0ace609
--- a/hedgewars/HHHandlers.inc	Thu Dec 04 21:17:03 2008 +0000
+++ b/hedgewars/HHHandlers.inc	Thu Dec 04 21:59:25 2008 +0000
@@ -355,8 +355,8 @@
       if not (TestCollisionXwithXYShift(Gear, _0, -1, hwSign(Gear^.dX))
          or TestCollisionYwithGear(Gear, -1)) then Gear^.Y:= Gear^.Y - _1;
       end;
+
    if not TestCollisionXwithGear(Gear, hwSign(Gear^.dX)) then Gear^.X:= Gear^.X + SignAs(_1, Gear^.dX);
-
    SetAllHHToActive;
 
    if not TestCollisionYwithGear(Gear, 1) then