From bac7b67e927fb2f1763f2b8463d145e8163bfb7d Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 2 Oct 2026 07:41:17 +0200 Subject: [PATCH] Close #27184: Double misc entity limit (#27185) --- distribution/changelog.txt | 1 + src/openrct2/entity/EntityRegistry.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 0c599b091a..767ba7a6b7 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -2,6 +2,7 @@ ------------------------------------------------------------------------ - Feature: [#16014] Land surfaces and edges can now be recoloured. - Feature: [#27153] [Plugin] Add `guestsEntertained` to `Entertainer` interface. +- Feature: [#27184] [Plugin] Double limit of miscellaneous entities (e.g. crash particles, steam plumes and balloons) to 6400. - Feature: [objects#447] Track designer grid can now be used outside the Track Designer. - Improved: [#21400] The selector for setting staff patrol areas is now drawn on the water as well as on the surface under water. - Improved: [#22933] You can now toggle between long and short base flat-to-steep pieces if the ride has both available. diff --git a/src/openrct2/entity/EntityRegistry.h b/src/openrct2/entity/EntityRegistry.h index ecaab5796b..ae19845334 100644 --- a/src/openrct2/entity/EntityRegistry.h +++ b/src/openrct2/entity/EntityRegistry.h @@ -23,7 +23,7 @@ struct CoordsXY; namespace OpenRCT2 { constexpr uint16_t kMaxEntities = 65535; - constexpr uint16_t kMaxMiscEntities = 3200; + constexpr uint16_t kMaxMiscEntities = 6400; constexpr const uint32_t kSpatialIndexSize = (kMaximumMapSizeTechnical * kMaximumMapSizeTechnical) + 1; constexpr uint32_t kSpatialIndexNullBucket = kSpatialIndexSize - 1;