mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 01:04:50 +01:00
Remove map_get_surface_element_at operating with TileCoordsXY
This commit is contained in:
@@ -490,7 +490,7 @@ void game_fix_save_vars()
|
||||
{
|
||||
for (int32_t x = 0; x < MAXIMUM_MAP_SIZE_TECHNICAL; x++)
|
||||
{
|
||||
auto* surfaceElement = map_get_surface_element_at(TileCoordsXY{ x, y });
|
||||
auto* surfaceElement = map_get_surface_element_at(TileCoordsXY{ x, y }.ToCoordsXY());
|
||||
|
||||
if (surfaceElement == nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user