branch | hedgeroid |
changeset 5341 | 479b4108789a |
parent 5329 | abfc41832374 |
parent 5294 | 67278f1cba2c |
child 5375 | ec4006837feb |
--- a/hedgewars/uWorld.pas Fri Jun 24 09:36:59 2011 +0200 +++ b/hedgewars/uWorld.pas Fri Jun 24 09:54:39 2011 +0200 @@ -1165,7 +1165,7 @@ {$ENDIF} if (not PlacingHogs) and (FollowGear <> nil) and (not isCursorVisible) and (not fastUntilLag) then - if abs(CursorPoint.X - prevPoint.X) + abs(CursorPoint.Y - prevpoint.Y) > 4 then + if (not autoCameraOn) or (abs(CursorPoint.X - prevPoint.X) + abs(CursorPoint.Y - prevpoint.Y) > 4) then begin FollowGear:= nil; prevPoint:= CursorPoint;