1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 11:45:13 +01:00

Fix #15319: Clicking on Object Selection Cheat Freezes the Game

This fixes it by adding limits for the missing path types.

Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
This commit is contained in:
Hielke Morsink
2021-09-04 01:01:41 +02:00
parent 26a26e9e34
commit fd2a572f9a
2 changed files with 11 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ int32_t object_entry_group_counts[] = {
MAX_TERRAIN_EDGE_OBJECTS,
MAX_STATION_OBJECTS,
MAX_MUSIC_OBJECTS,
MAX_FOOTPATH_SURFACE_OBJECTS,
MAX_FOOTPATH_RAILINGS_OBJECTS,
};
// 98DA2C