1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Code style: Remove more snakes from the park, maphelper, scenery. (#18222)

This commit is contained in:
Duncan
2022-10-08 10:56:17 +01:00
committed by GitHub
parent 34170d6814
commit 5dba30778d
55 changed files with 212 additions and 214 deletions

View File

@@ -456,7 +456,7 @@ namespace Editor
windowManager->SetMainView(gSavedView, gSavedViewZoom, gSavedViewRotation);
reset_all_sprite_quadrant_placements();
scenery_set_default_placement_configuration();
ScenerySetDefaultPlacementConfiguration();
windowManager->BroadcastIntent(Intent(INTENT_ACTION_REFRESH_NEW_RIDES));
@@ -530,7 +530,7 @@ namespace Editor
*/
ResultWithMessage CheckPark()
{
int32_t parkSize = park_calculate_size();
int32_t parkSize = ParkCalculateSize();
if (parkSize == 0)
{
return { false, STR_PARK_MUST_OWN_SOME_LAND };