# HG changeset patch # User nemo # Date 1311772855 14400 # Node ID 649d35cf95ff6d52efb64142c1ce4eceadf74c1f # Parent d5b392e0240318c6e215e907847babd50030be34 this helps a bit diff -r d5b392e02403 -r 649d35cf95ff hedgewars/uGears.pas --- a/hedgewars/uGears.pas Wed Jul 27 09:06:51 2011 -0400 +++ b/hedgewars/uGears.pas Wed Jul 27 09:20:55 2011 -0400 @@ -914,7 +914,7 @@ CurrentHedgehog^.Gear^.State:= CurrentHedgehog^.Gear^.State and not gstAttacked; if delay2 = 0 then begin - SweepDirty; + if CurrentHedgehog^.Gear^.State and gstAttacked = 0 then SweepDirty; CheckNoDamage; AliveCount:= 0; // shorter version of check for win to allow typical step activity to proceed for i:= 0 to Pred(ClansCount) do