1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix obstructions not stopping ride placement (#10585)

This commit is contained in:
Duncan
2020-01-19 15:12:26 +00:00
committed by GitHub
parent 3ba8369f22
commit 8abb9e5515

View File

@@ -1419,6 +1419,7 @@ static GameActionResult::Ptr map_can_construct_with_clear_at(
if (tileElement != nullptr)
{
map_obstruction_set_error_text(tileElement, *res);
res->Error = GA_ERROR::NO_CLEARANCE;
}
return res;