mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fix compile and formating
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -170,6 +170,11 @@ bool TileElementBase::IsGhost() const
|
||||
return (this->flags & TILE_ELEMENT_FLAG_GHOST) != 0;
|
||||
}
|
||||
|
||||
bool TrackElement::BlockBrakeClosed() const
|
||||
{
|
||||
return (flags & TILE_ELEMENT_FLAG_BLOCK_BRAKE_CLOSED) != 0;
|
||||
}
|
||||
|
||||
TileElement* map_get_first_element_at(int x, int y)
|
||||
{
|
||||
if (x < 0 || y < 0 || x > 255 || y > 255)
|
||||
|
||||
Reference in New Issue
Block a user