changeset 10905 | c0919d7e5ce9 |
parent 10897 | 8ea636ce120a |
child 10952 | 8ad21fe5d062 |
--- 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