1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Fix #4377. Entrances correctly saved for tracked rides

This commit is contained in:
duncanspumpkin
2016-09-25 12:17:27 +01:00
parent 7c42322f0c
commit d953f25b96

View File

@@ -1126,7 +1126,7 @@ static bool track_design_save_to_td6_for_tracked_ride(uint8 rideIndex, rct_track
y -= gTrackPreviewOrigin.y;
// Rotate entrance coordinates backwards to the correct direction
rotate_map_coordinates(&x, &y, _trackSaveDirection ^ 2);
rotate_map_coordinates(&x, &y, (0 - _trackSaveDirection) & 3);
entrance->x = x;
entrance->y = y;