cases have no health
authornemo
Fri, 10 May 2013 12:00:51 -0400
changeset 8973 7bcb77379a4b
parent 8972 f01b836d702e
child 8974 d360e97ce842
cases have no health
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);