hedgewars/uGears.pas
changeset 13815 c0a7ef988151
parent 13782 3fa9e30927f1
child 13837 10a3b80130b5
--- 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