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:
@@ -585,6 +585,7 @@ GameActions::Result WallPlaceAction::WallCheckObstruction(
|
||||
case TileElementType::Track:
|
||||
if (!WallCheckObstructionWithTrack(wall, z0, tileElement->AsTrack(), wallAcrossTrack))
|
||||
{
|
||||
MapGetObstructionErrorText(tileElement, res);
|
||||
return res;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user