mirror of https://github.com/OpenRCT2/OpenRCT2.git
Check for page correctly
This commit is contained in:
parent
15ae358946
commit
617372fd38
|
@ -991,7 +991,7 @@ static void window_tile_inspector_mouseup(rct_window *w, rct_widgetindex widgetI
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only element-specific widgets from now on
|
// Only element-specific widgets from now on
|
||||||
if (w->selected_list_item == TILE_INSPECTOR_PAGE_DEFAULT || w->selected_list_item == -1) {
|
if (w->page == TILE_INSPECTOR_PAGE_DEFAULT || w->selected_list_item == -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue