mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
Make renewing a ride also reset its downtime
This commit is contained in:
@@ -5386,6 +5386,8 @@ void Ride::renew()
|
||||
// Set build date to current date (so the ride is brand new)
|
||||
buildDate = GetDate().GetMonthsElapsed();
|
||||
reliability = kRideInitialReliability;
|
||||
std::fill(std::begin(downtimeHistory), std::end(downtimeHistory), 0);
|
||||
downtime = 0;
|
||||
}
|
||||
|
||||
RideClassification Ride::getClassification() const
|
||||
|
||||
Reference in New Issue
Block a user