mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
fix infinite loop
This commit is contained in:
@@ -4708,7 +4708,7 @@ void ride_create_vehicles_find_first_block(rct_ride *ride, rct_xy_element *outXY
|
||||
if ((mapElement->properties.track.sequence & 0x0F) != 0) continue;
|
||||
if (mapElement->properties.track.type != trackType) continue;
|
||||
break;
|
||||
} while (!map_element_is_last_for_tile(mapElement));
|
||||
} while (!map_element_is_last_for_tile(mapElement++));
|
||||
|
||||
outXYElement->x = x;
|
||||
outXYElement->y = y;
|
||||
|
||||
Reference in New Issue
Block a user