changeset 14287 | 6015b74eea55 |
parent 14011 | 105793e575d6 |
child 14536 | e0af4ce7d8bc |
--- a/hedgewars/uCollisions.pas Fri Nov 23 21:22:26 2018 +0100 +++ b/hedgewars/uCollisions.pas Fri Nov 23 15:54:23 2018 -0500 @@ -145,7 +145,7 @@ function CheckCoordInWater(X, Y: LongInt): boolean; inline; begin CheckCoordInWater:= (Y > cWaterLine) - or ((WorldEdge = weSea) and ((X < LongInt(leftX)) or (X > LongInt(rightX)))); + or ((WorldEdge = weSea) and ((X < leftX) or (X > rightX))); end; function CheckGearsCollision(Gear: PGear): PGearArray;