mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 01:04:50 +01:00
Merge pull request #8970 from Nazey/tooltipBug-8468
Place tree underwater tooltip bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user