hedgewars/uGearsUtils.pas
changeset 8161 0b8beacff8a5
parent 8007 b07ce9dfc6bb
child 8199 886ed135665b
--- a/hedgewars/uGearsUtils.pas	Fri Nov 30 23:36:18 2012 +0100
+++ b/hedgewars/uGearsUtils.pas	Sat Dec 01 02:12:10 2012 +0100
@@ -106,8 +106,8 @@
                 gtTarget,
                 gtFlame,
                 gtKnife,
-                gtExplosives,
-                gtStructure: begin
+                gtExplosives: begin //,
+                //gtStructure: begin
 // Run the calcs only once we know we have a type that will need damage
                         tdX:= Gear^.X-fX;
                         tdY:= Gear^.Y-fY;
@@ -243,8 +243,8 @@
             end;
         uStats.HedgehogDamaged(Gear, AttackerHog, Damage, false);    
         end;
-    end
-    else if Gear^.Kind <> gtStructure then // not gtHedgehog nor gtStructure
+    end;
+    //else if Gear^.Kind <> gtStructure then // not gtHedgehog nor gtStructure
         Gear^.Hedgehog:= AttackerHog;
     inc(Gear^.Damage, Damage);