author | sheepluva |
Sat, 02 Aug 2014 02:20:48 +0200 | |
changeset 10372 | e49b76a12800 |
parent 10371 | e13efda1b2ed |
child 10373 | 5e83d029e918 |
--- 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