1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

Replace hard coded max map size

This commit is contained in:
Michael Steenbeek
2018-02-22 10:22:47 +01:00
parent f0805c3f59
commit c86dfe5f1b
4 changed files with 8 additions and 8 deletions

View File

@@ -102,8 +102,8 @@ void track_design_save_select_nearby_scenery(sint32 rideIndex)
{
rct_tile_element *tileElement;
for (sint32 y = 0; y < 256; y++) {
for (sint32 x = 0; x < 256; x++) {
for (sint32 y = 0; y < MAXIMUM_MAP_SIZE_TECHNICAL; y++) {
for (sint32 x = 0; x < MAXIMUM_MAP_SIZE_TECHNICAL; x++) {
tileElement = map_get_first_element_at(x, y);
do {
if (track_design_save_should_select_scenery_around(rideIndex, tileElement)) {