mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix typo in SetSlope()
This commit is contained in:
parent
f7a03895f6
commit
0235137010
|
@ -213,5 +213,5 @@ uint8_t SurfaceElement::GetSlope() const
|
|||
void SurfaceElement::SetSlope(uint8_t newSlope)
|
||||
{
|
||||
slope &= ~TILE_ELEMENT_SURFACE_SLOPE_MASK;
|
||||
slope |= (newSlope | TILE_ELEMENT_SURFACE_SLOPE_MASK);
|
||||
}
|
||||
slope |= (newSlope & TILE_ELEMENT_SURFACE_SLOPE_MASK);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue