# HG changeset patch # User Wuzzy # Date 1538000818 -7200 # Node ID c0a7ef988151f1663fed6c41050936662f72d35f # Parent 3b94a2c707c6308ae0a97a2e9c9a287cea2f692e Fix teleport cursor briefly re-appearing after placing hog in hog placement phase + inf attack mode diff -r 3b94a2c707c6 -r c0a7ef988151 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Thu Sep 27 00:11:54 2018 +0200 +++ b/hedgewars/uGears.pas Thu Sep 27 00:26:58 2018 +0200 @@ -422,7 +422,8 @@ dec(delay2); if ((delay2 mod cInactDelay) = 0) and (CurrentHedgehog <> nil) and (CurrentHedgehog^.Gear <> nil) - and (not CurrentHedgehog^.Unplaced) then + and (not CurrentHedgehog^.Unplaced) + and (not PlacingHogs) then begin if (CurrentHedgehog^.Gear^.State and gstAttacked <> 0) and (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0) then