mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Receive CoordsXY by const ref instead of copy
This commit is contained in:
@@ -289,7 +289,7 @@ static CoordsXY GetEdgeTile(int32_t mapSize, int32_t rotation, EdgeType edgeType
|
||||
}
|
||||
}
|
||||
|
||||
static int32_t GetHighestBaseClearanceZ(CoordsXY location)
|
||||
static int32_t GetHighestBaseClearanceZ(const CoordsXY& location)
|
||||
{
|
||||
int32_t z = 0;
|
||||
auto element = map_get_first_element_at(location);
|
||||
|
||||
Reference in New Issue
Block a user