hedgewars/GSHandlers.inc
changeset 1090 c4ff49d0fe9b
parent 1089 24e9e1ca0394
child 1103 1ff3db3c12af
--- a/hedgewars/GSHandlers.inc	Fri Jul 25 13:52:35 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Fri Jul 25 14:01:28 2008 +0000
@@ -1527,7 +1527,7 @@
 		end;
 
 dec(Gear^.Health);
-if Gear^.Health = 0 then
+if (Gear^.Health = 0) or ((Gear^.Message and gm_Attack) <> 0) then
 	begin
 	doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 75, EXPLAutoSound);
 	AfterAttack;