mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Fix #17639: Duplicate special elements when building upside down
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user