mirror of https://github.com/OpenRCT2/OpenRCT2.git
Add IsGhost to the testpaint calls
This commit is contained in:
parent
ab058fe659
commit
eb9ecea92e
|
@ -53,6 +53,7 @@ bool TileElementBase::IsGhost() const
|
|||
{
|
||||
return (this->flags & TILE_ELEMENT_FLAG_GHOST) != 0;
|
||||
}
|
||||
|
||||
void TileElementBase::SetGhost(bool isGhost)
|
||||
{
|
||||
if (isGhost == true)
|
||||
|
|
|
@ -165,6 +165,11 @@ uint8_t TileElementBase::GetType() const
|
|||
return this->type & TILE_ELEMENT_TYPE_MASK;
|
||||
}
|
||||
|
||||
bool TileElementBase::IsGhost() const
|
||||
{
|
||||
return (this->flags & TILE_ELEMENT_FLAG_GHOST) != 0;
|
||||
}
|
||||
|
||||
TileElement* map_get_first_element_at(int x, int y)
|
||||
{
|
||||
if (x < 0 || y < 0 || x > 255 || y > 255)
|
||||
|
|
Loading…
Reference in New Issue