diff --git a/src/openrct2/network/network.h b/src/openrct2/network/network.h index c9f71dfdd5..6565db4acf 100644 --- a/src/openrct2/network/network.h +++ b/src/openrct2/network/network.h @@ -55,7 +55,7 @@ extern "C" { // This define specifies which version of network stream current build uses. // It is used for making sure only compatible builds get connected, even within // single OpenRCT2 version. -#define NETWORK_STREAM_VERSION "3" +#define NETWORK_STREAM_VERSION "4" #define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION #ifdef __cplusplus diff --git a/src/openrct2/ride/ride.c b/src/openrct2/ride/ride.c index c2c54947dd..c4a1501a13 100644 --- a/src/openrct2/ride/ride.c +++ b/src/openrct2/ride/ride.c @@ -2331,7 +2331,7 @@ static void ride_breakdown_update(sint32 rideIndex) // // a 0.8% chance, less the breakdown factor which accumulates as the game // continues. - if ((ride->reliability_percentage == 0 || (sint32)(scenario_rand() & 0x2FFFFF) <= 1 + RIDE_INITIAL_RELIABILITY - ride->reliability_percentage) + if ((ride->reliability == 0 || (sint32)(scenario_rand() & 0x2FFFFF) <= 1 + RIDE_INITIAL_RELIABILITY - ride->reliability) && !gCheatsDisableAllBreakdowns) { sint32 breakdownReason = ride_get_new_breakdown_problem(ride); if (breakdownReason != -1)