changeset 13318 | 9071600f7b22 |
parent 13285 | fd1017c85dd4 |
child 13321 | 23ade5604f8d |
--- a/hedgewars/uGearsHandlersMess.pas Thu Apr 12 00:40:10 2018 +0200 +++ b/hedgewars/uGearsHandlersMess.pas Thu Apr 12 01:51:38 2018 +0200 @@ -1358,6 +1358,9 @@ Gear^.Elasticity:= Gear^.X; Gear^.Friction:= Gear^.Y; SpawnBulletTrail(Gear, Gear^.X, Gear^.Y, false); + + // bullets can now hurt the hog that fired them + if WorldEdge <> weSea then Gear^.Data:= nil; end; x := hwRound(Gear^.X); y := hwRound(Gear^.Y);