1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

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

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

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 designers quit prompt has the wrong text.
- Fix: [#20628] Moving caret using Ctrl+left can move too far when using a multibyte grapheme.

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)];