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

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

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

View File

@ -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;