Fix #8468: Removed code incorrectly increasing tile height

This commit is contained in:
Joshua Tucker committed 2019-03-26 12:10:46 -04:00
1 parent c841ee31e7
commit c09f283c25
1 file changed
+1 -5
+1 -5
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)