hedgewars/uWorld.pas
branchqmlfrontend
changeset 12895 9c259fb4d405
parent 12836 1fbc0d5a82d0
--- a/hedgewars/uWorld.pas	Sun Jan 07 09:48:26 2018 +0100
+++ b/hedgewars/uWorld.pas	Wed Jan 10 23:49:47 2018 +0100
@@ -1776,10 +1776,6 @@
 var EdgesDist, wdy, shs,z, amNumOffsetX, amNumOffsetY, dstX: LongInt;
     inbtwnTrgtAttks: Boolean;
 begin
-{$IFNDEF MOBILE}
-if (not (CurrentTeam^.ExtDriven and isCursorVisible and (not bShowAmmoMenu) and autoCameraOn)) and cHasFocus and (GameState <> gsConfirm) then
-    uCursor.updatePosition();
-{$ENDIF}
 z:= round(200/zoom);
 inbtwnTrgtAttks := ((GameFlags and gfInfAttack) <> 0) and (CurrentHedgehog <> nil) and ((CurrentHedgehog^.Gear = nil) or (CurrentHedgehog^.Gear <> FollowGear)) and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget) <> 0);
 if autoCameraOn and (not PlacingHogs) and (FollowGear <> nil) and (not isCursorVisible) and (not bShowAmmoMenu) and (not fastUntilLag) and (not inbtwnTrgtAttks) then