From 9578c514d28e07090b952f0a963a3289645ddb60 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Tue, 6 Sep 2022 22:57:58 +0200 Subject: [PATCH] Fix #17966: Reversed steel trains do not properly import from S4 --- distribution/changelog.txt | 1 + src/openrct2/rct1/RCT1.h | 3 +++ src/openrct2/rct1/Tables.cpp | 6 +++--- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index c0efc3a3b9..c98f3d2cb1 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -60,6 +60,7 @@ - Fix: [#17865] With difficult guest generation, tested but unopened rides still contribute to the guest cap. - Fix: [#17866] [Plugin] Wrong Soft Guest Cap at start of new game - Fix: [#17959] Areas marked for dirty drawing are too large. +- Fix: [#17966] Reversed steel trains do not properly import from S4. 0.4.1 (2022-07-04) ------------------------------------------------------------------------ diff --git a/src/openrct2/rct1/RCT1.h b/src/openrct2/rct1/RCT1.h index 2b5b3b239c..1f7a9acf25 100644 --- a/src/openrct2/rct1/RCT1.h +++ b/src/openrct2/rct1/RCT1.h @@ -1195,6 +1195,9 @@ namespace RCT1 MINIATURE_RAILWAY_TENDER = 15, MINIATURE_RAILWAY_LOCOMOTIVE = 16, MINIATURE_RAILWAY_CARRIAGE = 17, + WOODEN_RC_TRAIN_BACKWARDS = 20, + STEEL_RC_REVERSED_FRONT = 23, + STEEL_RC_REVERSED_CARRIAGE = 24, MINE_TRAIN_FRONT = 35, MINE_TRAIN_CARRIAGE = 36, CORKSCREW_RC_FRONT = 38, diff --git a/src/openrct2/rct1/Tables.cpp b/src/openrct2/rct1/Tables.cpp index 597b0bb614..79a5e92305 100644 --- a/src/openrct2/rct1/Tables.cpp +++ b/src/openrct2/rct1/Tables.cpp @@ -446,11 +446,11 @@ namespace RCT1 2, // MINIATURE_RAILWAY_CARRIAGE 0, 0, + 0, // WOODEN_RC_TRAIN_BACKWARDS 0, 0, - 0, - 0, - 0, + 0, // STEEL_RC_REVERSED_FRONT + 1, // STEEL_RC_REVERSED_CARRIAGE 0, 0, 0,