# HG changeset patch # User nemo # Date 1315749632 14400 # Node ID fe010d3a4330abf713b12e62471080eed2c0f1a7 # Parent e6151aca2d7c819f10f9294a8961b56e40f7c4a8 tweak diff -r e6151aca2d7c -r fe010d3a4330 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Sun Sep 11 09:46:22 2011 -0400 +++ b/hedgewars/uWorld.pas Sun Sep 11 10:00:32 2011 -0400 @@ -1185,7 +1185,7 @@ if (not (CurrentTeam^.ExtDriven and isCursorVisible and not bShowAmmoMenu)) and cHasFocus and (GameState <> gsConfirm) then uCursor.updatePosition(); {$ENDIF} -z:= round(2/zoom); +z:= round(200/zoom); if (not PlacingHogs) and (FollowGear <> nil) and (not isCursorVisible) and (not fastUntilLag) then if (not autoCameraOn) or ((abs(CursorPoint.X - prevPoint.X) + abs(CursorPoint.Y - prevpoint.Y)) > 4) then begin @@ -1195,8 +1195,8 @@ end else begin - CursorPoint.X:= (prevPoint.X * 7 + hwRound(FollowGear^.X) + hwSign(FollowGear^.dX) * 100*z + WorldDx) div 8; - CursorPoint.Y:= (prevPoint.Y * 7 + cScreenHeight - (hwRound(FollowGear^.Y)+ hwSign(FollowGear^.dY) * 100*z + WorldDy)) div 8; + CursorPoint.X:= (prevPoint.X * 7 + hwRound(FollowGear^.X) + hwSign(FollowGear^.dX) * z + WorldDx) div 8; + CursorPoint.Y:= (prevPoint.Y * 7 + cScreenHeight - (hwRound(FollowGear^.Y)+ hwSign(FollowGear^.dY) * z + WorldDy)) div 8; end; wdy:= trunc(cScreenHeight / cScaleFactor) + cScreenHeight div 2 - cWaterLine - cVisibleWater;