hedgewars/GSHandlers.inc
changeset 8973 7bcb77379a4b
parent 8971 fcb29a13b1b1
child 8987 47cf32305d99
--- 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);