forked from rosebudai/OpenRCT2-Web
Rename SetLocation to SetViewportLocation, this is less confusing
This commit is contained in:
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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user