1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Fix #8468: Removed code incorrectly increasing tile height

This commit is contained in:
Joshua Tucker
2019-03-26 09:47:42 -04:00
parent c841ee31e7
commit c09f283c25

View File

@@ -1390,12 +1390,8 @@ static void sub_6E1F34(
return;
}
// If CTRL and SHIFT not pressed
gSceneryPlaceZ = 0;
uint16_t water_height = tile_element->AsSurface()->GetWaterHeight();
if (water_height != 0)
{
gSceneryPlaceZ = water_height * 16;
}
// If SHIFT pressed
if (gSceneryShiftPressed)