mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
Rename map_element to tile_element
This commit is contained in:
@@ -169,7 +169,7 @@ static LocationXY16 get_location()
|
||||
rct_window *w = window_get_main();
|
||||
if (w != nullptr) {
|
||||
sint32 interactionType;
|
||||
rct_map_element *mapElement;
|
||||
rct_tile_element *mapElement;
|
||||
|
||||
get_map_coordinates_from_pos_window(w, w->viewport->view_width / 2, w->viewport->view_height / 2, VIEWPORT_INTERACTION_MASK_TERRAIN, &mapCoord.x, &mapCoord.y, &interactionType, &mapElement, nullptr);
|
||||
mapCoord.x -= 16;
|
||||
|
||||
Reference in New Issue
Block a user