mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Fix paths in track design previews not being connected correctly
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
- Fix: [#14365] Track designs with scenery below the lowest track piece do not preview correctly.
|
||||
- Fix: [#25451] Dropdown item tooltips stay open if the mouse is moved over an empty space.
|
||||
- Fix: [#25461] Path connections in raised track designs are sometimes broken when placed.
|
||||
- Fix: [#25467] Paths are not connected together correctly in track design previews.
|
||||
- Fix: [#25476] When both RCT2 and RCT1 are present, autodetection fails.
|
||||
|
||||
0.4.28 (2025-11-01)
|
||||
|
||||
@@ -1244,7 +1244,8 @@ static GameActions::Result TrackDesignPlaceSceneryElement(
|
||||
flags |= GAME_COMMAND_FLAG_REPLAY;
|
||||
}
|
||||
|
||||
if (tds.placeOperation == TrackPlaceOperation::place)
|
||||
if (tds.placeOperation == TrackPlaceOperation::placeTrackPreview
|
||||
|| tds.placeOperation == TrackPlaceOperation::place)
|
||||
{
|
||||
if (!pathElement->IsQueue() || FootpathQueueCountConnections(mapCoord, *pathElement) < 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user