mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Fix #10582: Low clearance tunnels below water draw incorrectly
This commit is contained in:
@@ -573,6 +573,9 @@ static void ViewportSurfaceDrawTileSideBottom(
|
||||
return;
|
||||
}
|
||||
|
||||
neighbourCornerHeight1 = std::max(cornerHeight1, neighbourCornerHeight1);
|
||||
neighbourCornerHeight2 = std::max(cornerHeight2, neighbourCornerHeight2);
|
||||
|
||||
cornerHeight1 = height;
|
||||
cornerHeight2 = height;
|
||||
}
|
||||
@@ -763,6 +766,9 @@ static void ViewportSurfaceDrawTileSideTop(
|
||||
return;
|
||||
}
|
||||
|
||||
neighbourCornerHeight1 = std::max(cornerHeight1, neighbourCornerHeight1);
|
||||
neighbourCornerHeight2 = std::max(cornerHeight2, neighbourCornerHeight2);
|
||||
|
||||
cornerHeight1 = height;
|
||||
cornerHeight2 = height;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user