prevent minigun bullet land impacts from pushing hedgehogs
authoralfadur
Thu, 01 Nov 2018 04:04:33 +0300
changeset 14055 82956b3ba2ab
parent 14054 3185fb34f3b5
child 14056 7b78c87d80a1
prevent minigun bullet land impacts from pushing hedgehogs
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Thu Nov 01 03:38:13 2018 +0300
+++ b/hedgewars/uGearsHandlersMess.pas	Thu Nov 01 04:04:33 2018 +0300
@@ -1567,7 +1567,7 @@
             if Gear^.Kind = gtMinigunBullet then
                 begin
                 doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 5,
-                                Gear^.Hedgehog, EXPLNoDamage{ or EXPLDontDraw or EXPLNoGfx});
+                                Gear^.Hedgehog, (EXPLNoDamage or EXPLDoNotTouchHH){ or EXPLDontDraw or EXPLNoGfx});
                 VGear := AddVisualGear(hwRound(Gear^.X + Gear^.dX * 5), hwRound(Gear^.Y + Gear^.dY * 5), vgtBulletHit);
                 end
             else