1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Fix compile and formating

This commit is contained in:
duncanspumpkin
2019-02-27 10:54:08 +00:00
parent 584c4d5134
commit 9d78bb0d4e
3 changed files with 6 additions and 3 deletions

View File

@@ -703,8 +703,7 @@ static void sub_6A3F61(
if (sceneryEntry == nullptr)
return;
if ((session->ViewFlags & VIEWPORT_FLAG_HIGHLIGHT_PATH_ISSUES)
&& !(tile_element->AsPath()->IsBroken())
if ((session->ViewFlags & VIEWPORT_FLAG_HIGHLIGHT_PATH_ISSUES) && !(tile_element->AsPath()->IsBroken())
&& !(sceneryEntry->path_bit.draw_type == PATH_BIT_DRAW_TYPE_BINS))
{
return;

View File

@@ -2035,7 +2035,6 @@ void PathElement::SetHasQueueBanner(bool hasQueueBanner)
entryIndex |= FOOTPATH_PROPERTIES_FLAG_HAS_QUEUE_BANNER;
}
bool PathElement::IsBroken() const
{
return (flags & TILE_ELEMENT_FLAG_BROKEN) != 0;