Backed out changeset 0c797469d16d
authorWuzzy <Wuzzy2@mail.ru>
Tue, 07 Aug 2018 01:47:49 +0200
changeset 13622 358ccb060cb3
parent 13621 0c797469d16d
child 13623 f66d8779e4dd
Backed out changeset 0c797469d16d
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Tue Aug 07 01:43:22 2018 +0200
+++ b/hedgewars/uWorld.pas	Tue Aug 07 01:47:49 2018 +0200
@@ -1802,7 +1802,7 @@
     uCursor.updatePosition();
 {$ENDIF}
 z:= round(200/zoom);
-inbtwnTrgtAttks := ((GameFlags and (gfInfAttack or gfMultiWeapon)) <> 0) and (CurrentHedgehog <> nil) and ((CurrentHedgehog^.Gear = nil) or (CurrentHedgehog^.Gear <> FollowGear)) and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget) <> 0);
+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
     if ((abs(CursorPoint.X - prevPoint.X) + abs(CursorPoint.Y - prevpoint.Y)) > 4) then
         begin