1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix #6138: 'Too low' error when placing at lowest Z

This commit is contained in:
rwjuk
2017-08-08 01:34:09 +01:00
committed by Michael Steenbeek
parent 38e6b174bd
commit 1a64fde0af

View File

@@ -3893,7 +3893,7 @@ void ride_construction_tooldown_construct(sint32 screenX, sint32 screenY)
z -= bx;
// FIX not sure exactly why it starts trial and error place from a lower Z, but it causes issues with disable clearance
if (!gCheatsDisableClearanceChecks) {
if (!gCheatsDisableClearanceChecks && z > 16) {
z -= 16;
}
} else {