Guest User

Untitled

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