1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00

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
2 changed files with 2 additions and 0 deletions

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;