forked from rosebudai/OpenRCT2-Web
Add IsGhost to the testpaint calls
This commit is contained in:
1 parent
ab058fe659
commit
eb9ecea92e
2 files changed
+6
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user