# HG changeset patch # User unc0rr # Date 1232483169 0 # Node ID 9ae3cd2204d3bd655504cdee416ec9612b2b61e6 # Parent 419e9dfce35d6dc81009d835c3cb34d289836723 Fix blowtorch delete condition diff -r 419e9dfce35d -r 9ae3cd2204d3 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Tue Jan 20 04:53:01 2009 +0000 +++ b/hedgewars/GSHandlers.inc Tue Jan 20 20:26:09 2009 +0000 @@ -574,7 +574,7 @@ if ((HHGear^.State and gstMoving) <> 0) then begin doStepHedgehogMoving(HHGear); - if (HHGear^.Damage > 0) then Gear^.Timer:= 0 + if (HHGear^.State and gstHHDriven) = 0 then Gear^.Timer:= 0 end; if Gear^.Timer mod cHHStepTicks = 0 then