Fix #17381: wrong stat penalty on APVC

Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
This commit is contained in:
autofire372 2022-06-13 14:31:26 -04:00 committed by GitHub
parent 9c796816a1
commit d76a21551a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -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)
------------------------------------------------------------------------

View File

@ -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;

View File

@ -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);