mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +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:
@@ -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