1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Revert "Fix #8064: Check clearance height before alignment on correct z. (#8135)"

This reverts commit 45381b0997.
This commit is contained in:
Michael Steenbeek
2018-10-23 14:52:30 +02:00
parent 45381b0997
commit ed7aed405b

View File

@@ -1173,7 +1173,7 @@ static money32 track_place(
if (trackFlags[type] & TRACK_ELEM_FLAG_STARTS_AT_HALF_HEIGHT)
{
if ((originZ & 0x0F) != 8)
if ((z & 0x0F) != 8)
{
gGameCommandErrorText = STR_CONSTRUCTION_ERR_UNKNOWN;
return MONEY32_UNDEFINED;
@@ -1181,7 +1181,7 @@ static money32 track_place(
}
else
{
if ((originZ & 0x0F) != 0)
if ((z & 0x0F) != 0)
{
gGameCommandErrorText = STR_CONSTRUCTION_ERR_UNKNOWN;
return MONEY32_UNDEFINED;