From 08a710e13fc6ce680eadb80ce4855d5b2e1cd94c Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Wed, 25 Mar 2015 11:12:17 +0100 Subject: [PATCH] Also make rides reliable when renewing them --- src/windows/cheats.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/windows/cheats.c b/src/windows/cheats.c index fcac4fca52..e425d92aac 100644 --- a/src/windows/cheats.c +++ b/src/windows/cheats.c @@ -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); }