# HG changeset patch
# User nemo
# Date 1368201651 14400
# Node ID 7bcb77379a4b16146193df7f2b53061f34e497f0
# Parent  f01b836d702ed1d119f0243cd493c96f2e05c045
cases have no health

diff -r f01b836d702e -r 7bcb77379a4b hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Thu May 09 23:21:06 2013 -0400
+++ b/hedgewars/GSHandlers.inc	Fri May 10 12:00:51 2013 -0400
@@ -1657,7 +1657,7 @@
         exit
         end;
 
-    if ((Gear^.Kind <> gtExplosives) and (Gear^.Damage > 0)) or (Gear^.Health<=0) then
+    if ((k <> gtExplosives) and (Gear^.Damage > 0)) or ((k = gtExplosives) and (Gear^.Health<=0)) then
         begin
         x := hwRound(Gear^.X);
         y := hwRound(Gear^.Y);