1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 10:45:16 +01:00

Fix overload resolution for map_get_first_element_at

This commit is contained in:
ζeh Matt
2021-09-07 22:20:13 +03:00
parent a3b0c9ac81
commit 79ab832000
5 changed files with 6 additions and 6 deletions

View File

@@ -243,7 +243,7 @@ void tile_element_iterator_begin(tile_element_iterator* it)
{
it->x = 0;
it->y = 0;
it->element = map_get_first_element_at({ 0, 0 });
it->element = map_get_first_element_at(TileCoordsXY{ 0, 0 });
}
int32_t tile_element_iterator_next(tile_element_iterator* it)