Rename SetLocation to SetViewportLocation, this is less confusing

This commit is contained in:
ζeh Matt committed 2025-04-25 17:48:39 +03:00
1 parent 7a764a05a8
commit 12063aa884
5 files changed
+7 -7

No files matched your search

@@ -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");
}
}