changeset 10372 | e49b76a12800 |
parent 10368 | 7ebb71a36e95 |
child 10379 | caa5b40e405b |
--- a/hedgewars/uGearsHandlersMess.pas Mon Jul 28 15:46:15 2014 -0400 +++ b/hedgewars/uGearsHandlersMess.pas Sat Aug 02 02:20:48 2014 +0200 @@ -4601,7 +4601,7 @@ end else begin - if CheckCoordInWater(rX, rY) or CheckCoordInWater(x, y) then + if (not CheckCoordInWater(rX, rY)) or (not CheckCoordInWater(x, y)) then begin if ((y and LAND_HEIGHT_MASK) = 0) and ((x and LAND_WIDTH_MASK) = 0) and (Land[y, x] <> 0) then