Fix refactor bug in set_water_height()

This commit is contained in:
Gymnasiast committed 2018-09-16 21:34:51 +02:00
1 parent 75877e82f8
commit 737b73d30c
1 file changed
+4
+4
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;