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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user