1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00

Merge pull request #8560 from richard-fine/directions

Begin cleanup of direction handling
This commit is contained in:
Michael Steenbeek
2019-01-18 19:09:39 +01:00
committed by GitHub
20 changed files with 115 additions and 92 deletions

View File

@@ -604,7 +604,7 @@ static void track_design_mirror_ride(rct_track_td6* td6)
entrance->y = -entrance->y;
if (entrance->direction & 1)
{
entrance->direction ^= (1 << 1);
entrance->direction = direction_reverse(entrance->direction);
}
}
}
@@ -629,7 +629,7 @@ static void track_design_mirror_maze(rct_track_td6* td6)
{
if (maze->direction & 1)
{
maze->direction ^= (1 << 1);
maze->direction = direction_reverse(maze->direction);
}
continue;
}