mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use correct condition
This commit is contained in:
parent
35e52acd7d
commit
8bfda5cab1
|
@ -445,7 +445,7 @@ PathElement* FootpathPlaceAction::map_get_footpath_element_slope(const CoordsXYZ
|
|||
{
|
||||
if (pathElement->GetBaseZ() != footpathPos.z)
|
||||
continue;
|
||||
if (pathElement->IsSloped() == isSloped)
|
||||
if (pathElement->IsSloped() != isSloped)
|
||||
continue;
|
||||
if (pathElement->GetSlopeDirection() != slopeDirection)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue