hedgewars/uWorld.pas
branchwebgl
changeset 9954 bf51bc7e2808
parent 9952 32f5982604f4
child 10015 4feced261c68
--- a/hedgewars/uWorld.pas	Sun Jan 05 00:46:26 2014 +0400
+++ b/hedgewars/uWorld.pas	Sun Jan 05 10:54:03 2014 +0400
@@ -1845,7 +1845,7 @@
 {$ENDIF}
 z:= round(200/zoom);
 inbtwnTrgtAttks := (CurrentHedgehog <> nil) and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget) <> 0) and ((GameFlags and gfInfAttack) <> 0);
-if autoCameraOn and not PlacingHogs and (FollowGear <> nil) and (not isCursorVisible) and (not bShowAmmoMenu) and (not fastUntilLag) and not inbtwnTrgtAttks then
+if autoCameraOn and (not PlacingHogs) and (FollowGear <> nil) and (not isCursorVisible) and (not bShowAmmoMenu) and (not fastUntilLag) and (not inbtwnTrgtAttks) then
     if ((abs(CursorPoint.X - prevPoint.X) + abs(CursorPoint.Y - prevpoint.Y)) > 4) then
         begin
         FollowGear:= nil;