hedgewars/GSHandlers.inc
changeset 1736 9ae3cd2204d3
parent 1719 b8a5c7180e48
child 1752 769986d39202
--- 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