forked from rosebudai/OpenRCT2-Web
Refactor tile_element_height to use CoordsXY
This commit is contained in:
1 parent
5ba9d55415
commit
c6452095ca
53 files changed
+86
-91
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user