--- a/hedgewars/GSHandlers.inc Mon Aug 13 23:17:09 2012 +0400
+++ b/hedgewars/GSHandlers.inc Wed Aug 15 16:25:24 2012 +0400
@@ -1816,7 +1816,7 @@
Message := Message and (not gmAttack)
end;
DeleteGear(Gear);
- exit;
+ exit;
end;
if CheckGearDrowning(HHGear) then DeleteGear(Gear)
end;
@@ -4783,7 +4783,7 @@
Gear^.Timer:= Gear^.Tag
end;
- if (Gear^.Health = 0) or (HHGear^.Damage <> 0) then
+ if (Gear^.Health = 0) or ((HHGear^.State and gstHHDriven) = 0) then
begin
DeleteGear(Gear);
AfterAttack
@@ -4859,7 +4859,7 @@
Gear^.Timer:= Gear^.Tag
end;
- if (Gear^.Health = 0) or (HHGear^.Damage <> 0) or ((HHGear^.Message and gmAttack) <> 0) then
+ if (Gear^.Health = 0) or ((HHGear^.State and gstHHDriven) = 0) or ((HHGear^.Message and gmAttack) <> 0) then
begin
HHGear^.Message:= HHGear^.Message and (not gmAttack);
DeleteGear(Gear);