1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 07:13:07 +01:00

return the value

This commit is contained in:
duncanspumpkin
2019-06-13 19:33:37 +01:00
parent 357273fe7d
commit a0b77c4bff

View File

@@ -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;
} }
}; };