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)
|
if (pathElement->GetBaseZ() != footpathPos.z)
|
||||||
continue;
|
continue;
|
||||||
if (pathElement->IsSloped() == isSloped)
|
if (pathElement->IsSloped() != isSloped)
|
||||||
continue;
|
continue;
|
||||||
if (pathElement->GetSlopeDirection() != slopeDirection)
|
if (pathElement->GetSlopeDirection() != slopeDirection)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue