forked from rosebudai/OpenRCT2-Web
Fix TrackElement.seatRotation setter rejecting every ride except mazes (#27234)
The maze check in ScTileElement::seatRotation_set was inverted, so the setter refused every track element except maze ones, the only ride type seat rotation does not apply to. Use the same check as the getter.
This commit is contained in:
1 parent
bc0b670487
commit
9507bf486a
3 files changed
+3
-2
No files matched your search
@@ -43,7 +43,7 @@ namespace OpenRCT2
|
||||
namespace OpenRCT2::Scripting
|
||||
{
|
||||
// Grepped from CI (.github/workflows/publish-plugin-types.yml); keep the format `kPluginApiVersion = N`.
|
||||
static constexpr int32_t kPluginApiVersion = 123;
|
||||
static constexpr int32_t kPluginApiVersion = 124;
|
||||
|
||||
// Versions marking breaking changes.
|
||||
static constexpr int32_t kApiVersionPeepDeprecation = 33;
|
||||
|
||||
Reference in new issue
Block a user