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:
@@ -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).
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user