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 {