Merge pull request #21225 from ZehMatt/raise-mix-limit

Raise maximum allowed misc entities to 1600
This commit is contained in:
Matt authored and GitHub committed 2024-01-20 17:02:42 +02:00
commit 7141fb4574
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
- Feature: [#21062] [Plugin] Add API for managing a guest's items.
- Improved: [#18632] Land ownership and construction rights are now shown on top of the water.
- Improved: [#20951] Activate OpenRCT2 window after using native file dialog on macOS.
- Change: [#21225] Raise maximum allowed misc entities to 1600.
- Fix: [#20255] Images from the last hovered-over coaster in the object selection are not freed.
- Fix: [#20616] Confirmation button in the track designer’s quit prompt has the wrong text.
- Fix: [#20628] Moving caret using Ctrl+left can move too far when using a multibyte grapheme.
+2 -1
View File
@@ -275,7 +275,8 @@ static void EntityReset(EntityBase* entity)
entity->Type = EntityType::Null;
}
static constexpr uint16_t MAX_MISC_SPRITES = 300;
static constexpr uint16_t MAX_MISC_SPRITES = 1600;
static void AddToEntityList(EntityBase* entity)
{
auto& list = gEntityLists[EnumValue(entity->Type)];