Fix #7424: Do not auto-rotate shops to face queue paths

This commit is contained in:
Toby Hinloopen authored and Michael Steenbeek committed 2018-04-30 14:54:26 +02:00
1 parent 7713cdac4d
commit 2fc01cb698
2 files changed
+7

No files matched your search

+1
View File
@@ -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
@@ -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;