mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-21 14:53:02 +01:00
Fix build errors
This commit is contained in:
@@ -52,7 +52,7 @@ namespace OpenRCT2::Scripting
|
||||
|
||||
std::shared_ptr<ScTile> getTile(int32_t x, int32_t y)
|
||||
{
|
||||
auto firstElement = map_get_first_element_at(x, y);
|
||||
auto firstElement = map_get_first_element_at({ x, y });
|
||||
return std::make_shared<ScTile>(firstElement);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user