1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Merge pull request #24774 from NylePudding/develop

Fix #24761: Reliability progress bar no longer has a min value of 10
This commit is contained in:
Matt
2025-07-24 17:24:43 +03:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
- Fix: [#24598] Cannot load .park files that use official legacy footpaths by accident.
- Fix: [#24611] The confirmation prompt for track file deletion is not vertically aligned.
- Fix: [#24711] The map smoothing function only partially works for custom height map image files.
- Fix: [#24761] The reliability bar in the ride window visually does not go below 10%.
- Fix: [#24773] The new ride window debug authors does not show the correct authors for non legacy ride objects.
- Fix: [#24775] The scenery and new ride windows do not filter by file name or identifier correctly for non legacy objects.
- Fix: [#24824] The Air Powered Vertical Coaster top section track piece has vertical tunnels (original bug).

View File

@@ -4032,7 +4032,7 @@ namespace OpenRCT2::Ui::Windows
return;
uint16_t reliability = ride->reliabilityPercentage;
widgetProgressBarSetNewPercentage(widgets[WIDX_RELIABILITY_BAR], std::max<uint8_t>(10, reliability));
widgetProgressBarSetNewPercentage(widgets[WIDX_RELIABILITY_BAR], reliability);
uint16_t downTime = ride->downtime;
widgetProgressBarSetNewPercentage(widgets[WIDX_DOWN_TIME_BAR], downTime);