Merge pull request #959 from Gymnasiast/patch-1

Also make rides reliable when renewing them
This commit is contained in:
Ted John 2015-03-25 11:04:39 +00:00
commit e68dfb652a
1 changed files with 5 additions and 0 deletions

View File

@ -355,7 +355,12 @@ static void cheat_renew_rides()
rct_ride *ride;
FOR_ALL_RIDES(i, ride)
{
// Set build date to current date (so the ride is brand new)
ride->build_date = RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONTH_YEAR, uint16);
// Set reliability to 100
ride->reliability = (100 << 8);
}
window_invalidate_by_class(WC_RIDE);
}