mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user