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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user