# HG changeset patch # User unc0rr # Date 1216994488 0 # Node ID c4ff49d0fe9ba75c956955e704567088164db44b # Parent 24e9e1ca039439f2bde96fdeffba4280fa777a4b Cake explodes on /attack diff -r 24e9e1ca0394 -r c4ff49d0fe9b hedgewars/GSHandlers.inc --- 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;