1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Refactor tile_element_height to use CoordsXY

This commit is contained in:
duncanspumpkin
2019-08-13 18:21:50 +01:00
parent 5ba9d55415
commit c6452095ca
53 changed files with 86 additions and 91 deletions

View File

@@ -907,7 +907,7 @@ static int32_t cc_set(InteractiveConsole& console, const arguments_t& argv)
{
int32_t x = (int16_t)(int_val[0] * 32 + 16);
int32_t y = (int16_t)(int_val[1] * 32 + 16);
int32_t z = tile_element_height(x, y);
int32_t z = tile_element_height({ x, y });
w->SetLocation(x, y, z);
viewport_update_position(w);
console.Execute("get location");