# HG changeset patch # User nemo # Date 1315004765 14400 # Node ID 746de1d303d2109924432343c25390937adfb1d2 # Parent d4c12b7c7bb9f16df05c2a616192868c6d28e22b tweak to avoid jaggies diff -r d4c12b7c7bb9 -r 746de1d303d2 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Fri Sep 02 16:15:37 2011 -0400 +++ b/hedgewars/uGears.pas Fri Sep 02 19:06:05 2011 -0400 @@ -944,7 +944,7 @@ end; if delay2 = 0 then begin - if (CurrentHedgehog^.Gear <> nil) and (CurrentHedgehog^.Gear^.State and gstAttacked = 0) then SweepDirty; + if (CurrentHedgehog^.Gear <> nil) and (CurrentHedgehog^.Gear^.State and gstAttacked = 0) and (CurAmmoGear = nil) 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