mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 14:02:59 +01:00
reliability progress bar no longer has 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