Fix #10701: No explanation when placing door over unsuitable track

This commit is contained in:
Gymnasiast 2024-04-28 22:50:15 +02:00
parent c02c7925c3
commit 6335906d03
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
- Change: [#21715] [Plugin] Remove access to the internal `owner` property. Note: `ownership` is still accessible.
- Change: [#21855] Cheats menu dropdown no longer requires dragging.
- Fix: [#866] Boat Hire boats get stuck entering track.
- Fix: [#10701] No reason specified when placing door over unsuitable track.
- Fix: [#19559] Custom rides with long descriptions extend into lower widgets.
- Fix: [#21696] Fullscreen window option not correctly applied on macOS.
- Fix: [#21787] Map generator heightmap should respect increased height limits.

View File

@ -585,6 +585,7 @@ GameActions::Result WallPlaceAction::WallCheckObstruction(
case TileElementType::Track:
if (!WallCheckObstructionWithTrack(wall, z0, tileElement->AsTrack(), wallAcrossTrack))
{
MapGetObstructionErrorText(tileElement, res);
return res;
}
break;