Fix #20253, #20799, #20841, #20903, #20915: Crash when displaying a Lay-Down RC’s half loop (#20968)

* Fix #20253: Crash when displaying a Lay-Down RC’s half loop

* Bump network version
This commit is contained in:
Michael Steenbeek authored and GitHub committed 2023-11-15 23:36:14 -03:00
1 parent f98674b023
commit f8d71fcc2f
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -10,6 +10,7 @@
- Fix: [#16453] Tile inspector invisibility shortcut does not use a game action.
- Fix: [#18199] Dots in the game save's name no longer get truncated.
- Fix: [#19722] “Forbid tree removal” restriction doesn't forbid removal of large scenery tree items.
- Fix: [#20253] Crash when displaying a Lay-Down RC’s half loop.
- Fix: [#20356] Cannot set tertiary colour on small scenery.
- Fix: [#20679] Android: game crashes at launch.
- Fix: [#20737] Spent money in player window underflows when getting refunds.
+1 -1
View File
@@ -43,7 +43,7 @@
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
#define NETWORK_STREAM_VERSION "8"
#define NETWORK_STREAM_VERSION "9"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
@@ -10421,7 +10421,7 @@ static void LayDownRCTrackHalfLoopUninvertedDown(
PaintSession& session, const Ride& ride, uint8_t trackSequence, uint8_t direction, int32_t height,
const TrackElement& trackElement)
{
auto function = GetTrackPaintFunctionCorkscrewRC(TrackElemType::FlyerHalfLoopInvertedUp);
auto function = GetTrackPaintFunctionLayDownRC(TrackElemType::FlyerHalfLoopInvertedUp);
function(session, ride, 3 - trackSequence, direction, height, trackElement);
return;
}