changeset 14303 | 6015b74eea55 |
parent 14027 | 105793e575d6 |
child 14552 | 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;