1
0
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:
ζeh Matt
2025-04-24 17:49:16 +03:00
parent f51ca4dae6
commit e3062985c0
3 changed files with 1 additions and 5 deletions

View File

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