mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #17639: Duplicate special elements when building upside down
This commit is contained in:
parent
a68f8e8467
commit
281cf137f4
|
@ -25,6 +25,7 @@
|
|||
- Fix: [#17542] Stalls will autorotate towards paths outside the park.
|
||||
- Fix: [#17553] Crash when moving invention list items to empty list.
|
||||
- Fix: [#17605] Crash when opening parks which have had objects removed externally.
|
||||
- Fix: [#17639] When building upside down, the special elements list contains many items twice (original bug).
|
||||
|
||||
0.4.1 (2022-07-04)
|
||||
------------------------------------------------------------------------
|
||||
|
|
|
@ -2108,7 +2108,8 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
if (bank == TRACK_BANK_UPSIDE_DOWN && bank != _previousTrackBankEnd)
|
||||
if ((bank == TRACK_BANK_UPSIDE_DOWN || ted.Definition.bank_end == TRACK_BANK_UPSIDE_DOWN)
|
||||
&& bank != _previousTrackBankEnd)
|
||||
continue;
|
||||
|
||||
_currentPossibleRideConfigurations[currentPossibleRideConfigurationIndex] = trackType;
|
||||
|
|
Loading…
Reference in New Issue