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

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

No files matched your search

+1
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)
------------------------------------------------------------------------
+1 -1
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;