From d76a21551a26299171d06d3506ab1dbc327d0cc5 Mon Sep 17 00:00:00 2001 From: autofire372 <8486750+autofire372@users.noreply.github.com> Date: Mon, 13 Jun 2022 14:31:26 -0400 Subject: [PATCH] Fix #17381: wrong stat penalty on APVC Co-authored-by: duncanspumpkin --- distribution/changelog.txt | 1 + src/openrct2/network/NetworkBase.cpp | 2 +- src/openrct2/ride/RideRatings.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index befd79a4e1..2d115920cc 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -41,6 +41,7 @@ - Fix: [#17335] [Plugin] Documentation has an incorrect type for PixelData ‘data’ attribute. - Fix: [#17337] Air Powered Vertical Coaster trains not imported properly when loading RCT1 parks. - Fix: [#17346] Surface height markers are concealed by sprites of same surface. +- Fix: [#17381] Air Powered Vertical Coaster stat penalty is wrong. 0.4.0 (2022-04-25) ------------------------------------------------------------------------ diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index 84a36aac78..6b18940b7c 100644 --- a/src/openrct2/network/NetworkBase.cpp +++ b/src/openrct2/network/NetworkBase.cpp @@ -42,7 +42,7 @@ // This string 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 "1" +#define NETWORK_STREAM_VERSION "2" #define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION static Peep* _pickup_peep = nullptr; diff --git a/src/openrct2/ride/RideRatings.cpp b/src/openrct2/ride/RideRatings.cpp index 07278fa28a..c88dd07c5b 100644 --- a/src/openrct2/ride/RideRatings.cpp +++ b/src/openrct2/ride/RideRatings.cpp @@ -4027,7 +4027,7 @@ void ride_ratings_calculate_air_powered_vertical_coaster(Ride* ride, RideRatingU ride_ratings_apply_sheltered_ratings(&ratings, ride, 15420, 21845, 11702); ride_ratings_apply_proximity(state, &ratings, 17893); ride_ratings_apply_scenery(&ratings, ride, 11155); - ride_ratings_apply_highest_drop_height_penalty(&ratings, ride, 34, 2, 1, 1); + ride_ratings_apply_highest_drop_height_penalty(&ratings, ride, 34, 4, 1, 1); ride_ratings_apply_excessive_lateral_g_penalty(&ratings, ride, 24576, 35746, 59578); ride_ratings_apply_intensity_penalty(&ratings);