From 2fc01cb6989818cdda0f5850bc4752be323797a7 Mon Sep 17 00:00:00 2001 From: Toby Hinloopen Date: Mon, 30 Apr 2018 14:54:26 +0200 Subject: [PATCH] Fix #7424: Do not auto-rotate shops to face queue paths --- contributors.md | 1 + src/openrct2-ui/windows/RideConstruction.cpp | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/contributors.md b/contributors.md index b019e53a51..5d8bc7b102 100644 --- a/contributors.md +++ b/contributors.md @@ -108,6 +108,7 @@ The following people are not part of the project team, but have been contributin * Seongsik Park (pss9205) * (Deurklink) * Nathan Zabriskie (NathanZabriskie) +* Toby Hinloopen (tobyhinloopen) ## Toolchain * (Balletie) - macOS diff --git a/src/openrct2-ui/windows/RideConstruction.cpp b/src/openrct2-ui/windows/RideConstruction.cpp index 84632a65dd..bcd6e47fc8 100644 --- a/src/openrct2-ui/windows/RideConstruction.cpp +++ b/src/openrct2-ui/windows/RideConstruction.cpp @@ -3468,6 +3468,12 @@ void ride_construction_toolupdate_construct(sint32 screenX, sint32 screenY) } } + if (pathsByDir[i] && + footpath_element_is_queue(pathsByDir[i])) + { + pathsByDir[i] = nullptr; + } + if (pathsByDir[i] && i == _currentTrackPieceDirection) { keepOrientation = true;