1
0
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:
Llewelyn Gareth Griffiths
2025-07-14 17:16:26 +02:00
parent 936f5f231a
commit ea1f17ab83

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