From ad3e98f339790122e77d9d53425d19fd15348e96 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com> Date: Sun, 4 Aug 2024 03:17:04 +0200 Subject: [PATCH] Fix #22416: Water tool grid is one tile too small for even sizes (#22471) --- src/openrct2-ui/windows/Water.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openrct2-ui/windows/Water.cpp b/src/openrct2-ui/windows/Water.cpp index 467302e0e4..65569e3185 100644 --- a/src/openrct2-ui/windows/Water.cpp +++ b/src/openrct2-ui/windows/Water.cpp @@ -358,6 +358,7 @@ static Widget _waterWidgets[] = { // Move to tool bottom left mapTile.x -= tool_length / 2; mapTile.y -= tool_length / 2; + mapTile = mapTile.ToTileStart(); if (gMapSelectPositionA.x != mapTile.x) {