hedgewars/uWorld.pas
changeset 7468 1333ca7554dc
parent 7426 55b49cc1f33a
child 7503 deaeac102355
--- a/hedgewars/uWorld.pas	Tue Jul 31 23:29:00 2012 +0400
+++ b/hedgewars/uWorld.pas	Wed Aug 01 18:35:09 2012 -0400
@@ -1614,10 +1614,7 @@
     uCursor.updatePosition();
 {$ENDIF}
 z:= round(200/zoom);
-if not PlacingHogs and (FollowGear <> nil) and (not isCursorVisible) and (not bShowAmmoMenu) and (not fastUntilLag) then
-    if (not autoCameraOn) then
-        FollowGear:= nil
-    else
+if not PlacingHogs and (FollowGear <> nil) and (not isCursorVisible) and (not bShowAmmoMenu) and (not fastUntilLag) and autoCameraOn then
     if ((abs(CursorPoint.X - prevPoint.X) + abs(CursorPoint.Y - prevpoint.Y)) > 4) then
         begin
         FollowGear:= nil;