From 9c23414fbec2f171f8b702193695eb34b52225d5 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Tue, 18 Aug 2015 18:22:23 +0200 Subject: [PATCH] Keep the same orientation as in the preview when placing track, fixes #1817 --- src/windows/track_place.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/track_place.c b/src/windows/track_place.c index 22933ca5fc..4d61006534 100644 --- a/src/windows/track_place.c +++ b/src/windows/track_place.c @@ -393,7 +393,7 @@ void window_track_place_open() show_gridlines(); _window_track_place_last_cost = MONEY32_UNDEFINED; _window_track_place_last_x = 0xFFFF; - RCT2_GLOBAL(RCT2_ADDRESS_TRACK_PREVIEW_ROTATION, uint8) = (-RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_ROTATION, uint8)) & 3; + RCT2_GLOBAL(RCT2_ADDRESS_TRACK_PREVIEW_ROTATION, uint8) = (-RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_ROTATION, uint8) + 2) & 3; window_track_place_draw_mini_preview(); }