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:
Guy Sviry authored and GitHub committed 2026-10-04 00:13:00 +02:00
1 parent bc0b670487
commit 9507bf486a
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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;