mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 16:54:52 +01:00
Fix code calling ViewportUpdatePosition this is incorrect
This commit is contained in:
@@ -917,7 +917,6 @@ 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);
|
||||
ViewportUpdatePosition(w);
|
||||
console.Execute("get location");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user