mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #8970 from Nazey/tooltipBug-8468
Place tree underwater tooltip bug
This commit is contained in:
commit
9f2e1d7450
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue