1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Fix refactor error

This commit is contained in:
Michael Steenbeek
2017-07-27 17:50:01 +02:00
committed by GitHub
parent 46de90df86
commit ad6f725d37

View File

@@ -1366,7 +1366,7 @@ static money32 map_change_surface_style(sint32 x0, sint32 y0, sint32 x1, sint32
if (flags & 1)
{
if (map_get_water_height(mapElement) == 0)
if (!(mapElement->properties.surface.terrain & MAP_ELEMENT_SURFACE_TERRAIN_MASK))
{
if (!(mapElement->type & MAP_ELEMENT_DIRECTION_MASK))
{