Fix blowtorch delete condition
authorunc0rr
Tue, 20 Jan 2009 20:26:09 +0000
changeset 1736 9ae3cd2204d3
parent 1733 419e9dfce35d
child 1738 00e8dadce69a
Fix blowtorch delete condition
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