1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

"Fix" Testpaint

This commit is contained in:
Gymnasiast
2021-04-09 23:10:26 +02:00
parent fd29525993
commit 679f4d7d50

View File

@@ -41,6 +41,7 @@ uint8_t gClipHeight = 255;
CoordsXY gClipSelectionA = { 0, 0 };
CoordsXY gClipSelectionB = { MAXIMUM_TILE_START_XY, MAXIMUM_TILE_START_XY };
uint8_t gCurrentRotation;
uint32_t gCurrentTicks;
// clang-format off
constexpr const std::array<CoordsXY, 8> CoordsDirectionDelta = {
@@ -879,6 +880,11 @@ void TileElementBase::SetOwner(uint8_t newOwner)
owner |= (newOwner & OWNER_MASK);
}
bool TileElementBase::IsInvisible() const
{
return (this->Flags & TILE_ELEMENT_FLAG_INVISIBLE) != 0;
}
namespace OpenRCT2
{
IContext* GetContext()