hedgewars/GSHandlers.inc
changeset 1634 486a89f0e843
parent 1633 c1de4078b0fd
child 1635 cc5976f292f9
--- a/hedgewars/GSHandlers.inc	Sat Jan 10 15:27:21 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Sat Jan 10 15:36:28 2009 +0000
@@ -849,7 +849,9 @@
 		Gear^.Elasticity:= _10000;
 	end;
 
-if (Gear^.Elasticity > Gear^.Friction) or ((Gear^.Message and gm_Attack) = 0) then
+if (Gear^.Elasticity > Gear^.Friction)
+or ((Gear^.Message and gm_Attack) = 0)
+or (HHGear^.Damage > 0) then
 	begin
 	with PHedgehog(Gear^.Hedgehog)^.Gear^ do
 		begin