mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 02:05:13 +01:00
Code style: Remove more snakes from the park, maphelper, scenery. (#18222)
This commit is contained in:
@@ -1334,7 +1334,7 @@ void map_update_tiles()
|
||||
if (surfaceElement != nullptr)
|
||||
{
|
||||
surfaceElement->UpdateGrassLength(mapPos);
|
||||
scenery_update_tile(mapPos);
|
||||
SceneryUpdateTile(mapPos);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1419,7 +1419,7 @@ void map_remove_out_of_range_elements()
|
||||
if (surfaceElement != nullptr)
|
||||
{
|
||||
surfaceElement->SetOwnership(OWNERSHIP_UNOWNED);
|
||||
update_park_fences_around_tile({ x, y });
|
||||
ParkUpdateFencesAroundTile({ x, y });
|
||||
}
|
||||
clear_elements_at({ x, y });
|
||||
}
|
||||
@@ -1483,7 +1483,7 @@ void map_extend_boundary_surface_y()
|
||||
map_extend_boundary_surface_extend_tile(*existingTileElement, *newTileElement);
|
||||
}
|
||||
|
||||
update_park_fences({ x << 5, y << 5 });
|
||||
ParkUpdateFences({ x << 5, y << 5 });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1501,7 +1501,7 @@ void map_extend_boundary_surface_x()
|
||||
{
|
||||
map_extend_boundary_surface_extend_tile(*existingTileElement, *newTileElement);
|
||||
}
|
||||
update_park_fences({ x << 5, y << 5 });
|
||||
ParkUpdateFences({ x << 5, y << 5 });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2292,7 +2292,7 @@ void FixLandOwnershipTilesWithOwnership(std::initializer_list<TileCoordsXY> tile
|
||||
continue;
|
||||
|
||||
surfaceElement->SetOwnership(ownership);
|
||||
update_park_fences_around_tile({ (*tile).x * 32, (*tile).y * 32 });
|
||||
ParkUpdateFencesAroundTile({ (*tile).x * 32, (*tile).y * 32 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user