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:
@@ -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