mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
#17735 Track elements are listed twice when building backwards
Fix: Instead of checking whether bank has the value TRACK_BANK_UPSIDE_DOWN, instead check bank_start, as bank is not guaranteed to be bank_start.
This commit is contained in:
parent
9578c514d2
commit
121f121d4e
2 changed files with 3 additions and 4 deletions
|
@ -46,7 +46,7 @@
|
|||
- Fix: [#17571] All researched tracked rides show up as new vehicles in .park scenarios.
|
||||
- Fix: [#17600] Notifications are not properly cleared when loading a park.
|
||||
- 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).
|
||||
- Fix: [#17639, 17735] When building upside down, the special elements list contains many items twice (original bug).
|
||||
- Fix: [#17703] (undefined string) when building on invalid height.
|
||||
- Fix: [#17776] “Other Parks” tab uses separate lists for SC4/SC6 and .park scenarios.
|
||||
- Fix: [#17784] Colour preset RNG is biased (original bug).
|
||||
|
|
|
@ -2114,9 +2114,8 @@ public:
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((bank == TRACK_BANK_UPSIDE_DOWN || ted.Definition.bank_end == TRACK_BANK_UPSIDE_DOWN)
|
||||
&& bank != _previousTrackBankEnd)
|
||||
if ((ted.Definition.bank_start == TRACK_BANK_UPSIDE_DOWN || ted.Definition.bank_end == TRACK_BANK_UPSIDE_DOWN)
|
||||
&& (bank != _previousTrackBankEnd))
|
||||
continue;
|
||||
|
||||
_currentPossibleRideConfigurations[currentPossibleRideConfigurationIndex] = trackType;
|
||||
|
|
Loading…
Reference in a new issue