1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Fix #25739: Freezes when exceeding 384 items per tab in New Ride (#25740)

This commit is contained in:
Michael Steenbeek
2026-01-05 14:08:33 +01:00
committed by GitHub
parent fcc85853b0
commit 0319dc2fff
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
0.4.31 (in development)
------------------------------------------------------------------------
- Fix: [#25739] Game freezes when a tab in the New Ride window contains more than 384 items.
0.4.30 (2026-01-04)
------------------------------------------------------------------------

View File

@@ -46,7 +46,7 @@ namespace OpenRCT2::Ui::Windows
{
static constexpr StringId WindowTitle = kStringIdNone;
static constexpr int32_t kWindowHeightResearch = 194;
static constexpr int32_t RideListItemsMax = 384;
static constexpr int32_t RideListItemsMax = kMaxRideObjects;
static constexpr int32_t RideTabCount = 6;
static constexpr int32_t GroupByTrackTypeWidth = 172;
static constexpr int32_t kScrollItemSize = 116;