1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Fix #18552: Trains clipping through helixes

This commit is contained in:
Rik Smeets
2022-12-08 19:49:54 +01:00
committed by GitHub
parent 94a4a45e30
commit 9226448eb1
2 changed files with 9 additions and 8 deletions

View File

@@ -975,12 +975,12 @@ constexpr CoordsXY defaultRightHelixUpSmallQuarterBoundLengths[4][3][2] = {
constexpr CoordsXYZ defaultRightHelixUpSmallQuarterBoundOffsets[4][3][2] = {
{
{ { 0, 6, 8 }, { 0, 0, 0 } },
{ { 0, 6, 0 }, { 0, 0, 0 } },
{ { 16, 16, 0 }, { 0, 0, 0 } },
{ { 6, 0, 8 }, { 0, 0, 0 } },
{ { 6, 0, 0 }, { 0, 0, 0 } },
},
{
{ { 6, 0, 8 }, { 0, 0, 0 } },
{ { 6, 0, 0 }, { 0, 0, 0 } },
{ { 16, 0, 0 }, { 0, 0, 0 } },
{ { 0, 6, 0 }, { 0, 27, 0 } },
},
@@ -990,7 +990,7 @@ constexpr CoordsXYZ defaultRightHelixUpSmallQuarterBoundOffsets[4][3][2] = {
{ { 0, 0, 0 }, { 27, 0, 0 } },
},
{
{ { 6, 0, 8 }, { 27, 0, 0 } },
{ { 6, 0, 0 }, { 27, 0, 0 } },
{ { 0, 16, 0 }, { 0, 0, 0 } },
{ { 0, 6, 0 }, { 0, 0, 0 } },
},
@@ -1040,14 +1040,14 @@ void track_paint_util_right_helix_up_small_quarter_tiles_paint(
constexpr CoordsXYZ defaultRightHelixUpLargeQuarterBoundOffsets[4][5][2] = {
{
{ { 0, 6, 8 }, { 0, 0, 0 } },
{ { 0, 6, 0 }, { 0, 0, 0 } },
{ { 0, 16, 0 }, { 0, 0, 0 } },
{ { 0, 0, 0 }, { 0, 0, 0 } },
{ { 16, 0, 0 }, { 0, 0, 0 } },
{ { 6, 0, 8 }, { 0, 0, 0 } },
{ { 6, 0, 0 }, { 0, 0, 0 } },
},
{
{ { 6, 0, 8 }, { 0, 0, 0 } },
{ { 6, 0, 0 }, { 0, 0, 0 } },
{ { 16, 0, 0 }, { 0, 0, 0 } },
{ { 0, 16, 0 }, { 0, 0, 0 } },
{ { 0, 0, 0 }, { 0, 0, 0 } },
@@ -1061,7 +1061,7 @@ constexpr CoordsXYZ defaultRightHelixUpLargeQuarterBoundOffsets[4][5][2] = {
{ { 0, 0, 0 }, { 27, 0, 0 } },
},
{
{ { 6, 0, 8 }, { 27, 0, 0 } },
{ { 6, 0, 0 }, { 27, 0, 0 } },
{ { 0, 0, 0 }, { 0, 0, 0 } },
{ { 16, 0, 0 }, { 0, 0, 0 } },
{ { 0, 16, 0 }, { 0, 0, 0 } },