mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-24 11:22:02 -05:00
Fix compile and formating
This commit is contained in:
parent
584c4d5134
commit
9d78bb0d4e
3 changed files with 6 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue