Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r b024cf25bde1 hedgewars/uGearsHandlersMess.pas
- --- a/hedgewars/uGearsHandlersMess.pas Thu Apr 12 16:56:06 2018 +0200
- +++ b/hedgewars/uGearsHandlersMess.pas Thu Apr 12 23:27:45 2018 +0300
- @@ -1277,7 +1277,7 @@
- VGear^.Tint:= $FFFFFF00 or ($FF * (i + 1) div (steps));
- // reached edge of land. assume infinite beam. Extend it way out past camera
- - if (round(toX) and LAND_WIDTH_MASK <> 0)
- + if ((round(toX) and LAND_WIDTH_MASK <> 0) and (not (WorldEdge in [weBounce, weWrap])))
- or (round(toY) and LAND_HEIGHT_MASK <> 0) then
- // only extend if not under water
- if not CheckCoordInWater(round(toX), round(toY)) then
Add Comment
Please, Sign In to add comment