Skip to content

Commit

Permalink
Fix obstructions not stopping ride placement (#10585)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanspumpkin committed Jan 19, 2020
1 parent 3ba8369 commit 8abb9e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/openrct2/world/Map.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 8abb9e5

Please sign in to comment.