hedgewars/uGearsUtils.pas
changeset 13323 9071600f7b22
parent 13153 ec165591a1ee
child 13386 caed04706564
child 13555 d42237d16acf
--- a/hedgewars/uGearsUtils.pas	Thu Apr 12 00:40:10 2018 +0200
+++ b/hedgewars/uGearsUtils.pas	Thu Apr 12 01:51:38 2018 +0200
@@ -1636,9 +1636,6 @@
 if (hwRound(Gear^.X) < LongInt(leftX)) or
    (hwRound(Gear^.X) > LongInt(rightX)) then
     begin
-    // bullets can now hurt the hog that fired them
-    if (WorldEdge <> weSea) and (Gear^.Kind in [gtDEagleShot, gtSniperRifleShot, gtMinigunBullet]) then
-        Gear^.Data:= nil;
     if WorldEdge = weWrap then
         begin
         if (hwRound(Gear^.X) < LongInt(leftX)) then