mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 15:23:01 +01:00
return the value
This commit is contained in:
@@ -156,7 +156,7 @@ private:
|
|||||||
while (!(tileElement++)->IsLastForTile())
|
while (!(tileElement++)->IsLastForTile())
|
||||||
{
|
{
|
||||||
if (tileElement->GetType() == TILE_ELEMENT_TYPE_PATH)
|
if (tileElement->GetType() == TILE_ELEMENT_TYPE_PATH)
|
||||||
return;
|
return result;
|
||||||
else if (tileElement->GetType() != TILE_ELEMENT_TYPE_BANNER)
|
else if (tileElement->GetType() != TILE_ELEMENT_TYPE_BANNER)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@@ -173,5 +173,6 @@ private:
|
|||||||
}
|
}
|
||||||
tileElement--;
|
tileElement--;
|
||||||
}
|
}
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user