hedgewars/uWorld.pas
changeset 7503 deaeac102355
parent 7442 9bb6abdb5675
parent 7468 1333ca7554dc
child 7644 ed7fecd0f5fd
--- a/hedgewars/uWorld.pas	Thu Jul 26 21:58:25 2012 +0400
+++ b/hedgewars/uWorld.pas	Mon Aug 06 00:40:26 2012 +0400
@@ -1645,10 +1645,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;