1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Rename SetLocation to SetViewportLocation, this is less confusing

This commit is contained in:
ζeh Matt
2025-04-25 17:34:39 +03:00
parent 7a764a05a8
commit 12063aa884
5 changed files with 7 additions and 7 deletions

View File

@@ -916,7 +916,7 @@ static void ConsoleCommandSet(InteractiveConsole& console, const arguments_t& ar
{
auto location = TileCoordsXYZ(int_val[0], int_val[1], 0).ToCoordsXYZ().ToTileCentre();
location.z = TileElementHeight(location);
w->SetLocation(location);
w->SetViewportLocation(location);
console.Execute("get location");
}
}