1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00

Fix refactor bug in set_water_height()

This commit is contained in:
Gymnasiast
2018-09-15 11:59:20 +02:00
parent 75877e82f8
commit 737b73d30c

View File

@@ -2822,6 +2822,10 @@ void game_command_set_water_height(
{
tile_element->AsSurface()->SetWaterHeight(base_height / 2);
}
else
{
tile_element->AsSurface()->SetWaterHeight(0);
}
map_invalidate_tile_full(x, y);
}
*ebx = 250;