mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Use ScreenCoordsXY on viewport interactions
This commit is contained in:
@@ -612,7 +612,7 @@ static void window_title_command_editor_update(rct_window* w)
|
||||
static void window_title_command_editor_tool_down(rct_window* w, rct_widgetindex widgetIndex, ScreenCoordsXY screenCoords)
|
||||
{
|
||||
viewport_interaction_info info;
|
||||
viewport_interaction_get_item_left(screenCoords.x, screenCoords.y, &info);
|
||||
viewport_interaction_get_item_left(screenCoords, &info);
|
||||
|
||||
if (info.type == VIEWPORT_INTERACTION_ITEM_SPRITE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user