1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00

Fix testpaint

This commit is contained in:
Gymnasiast
2019-08-31 10:01:28 +02:00
parent 1fead03179
commit abdf6e695a

View File

@@ -421,12 +421,12 @@ uint8_t TileElementBase::GetDirectionWithOffset(uint8_t offset) const
uint8_t SurfaceElement::GetSlope() const
{
return (slope & TILE_ELEMENT_SURFACE_SLOPE_MASK);
return Slope;
}
uint32_t SurfaceElement::GetWaterHeight() const
{
return terrain & TILE_ELEMENT_SURFACE_WATER_HEIGHT_MASK;
return WaterHeight;
}
bool TrackElement::IsHighlighted() const