# HG changeset patch # User nemo # Date 1428678893 14400 # Node ID c0919d7e5ce9862b3a1289a61d3ed0a45153a664 # Parent c9a0cdee42679f9317ad2e1ea41bdf6bc7ab0521 bouncy/noportal check after spawn diff -r c9a0cdee4267 -r c0919d7e5ce9 hedgewars/uGearsHandlersMess.pas --- a/hedgewars/uGearsHandlersMess.pas Fri Apr 10 10:36:17 2015 -0400 +++ b/hedgewars/uGearsHandlersMess.pas Fri Apr 10 11:14:53 2015 -0400 @@ -4213,6 +4213,7 @@ // destroy portal if ground it was attached too is gone if (Land[hwRound(Gear^.Y), hwRound(Gear^.X)] <= lfAllObjMask) + or (Land[hwRound(Gear^.Y), hwRound(Gear^.X)] and lfBouncy <> 0) or (Gear^.Timer < 1) or (Gear^.Hedgehog^.Team <> CurrentHedgehog^.Team) or CheckCoordInWater(hwRound(Gear^.X), hwRound(Gear^.Y)) then