mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
@@ -840,7 +840,7 @@ bool widget_is_pressed(rct_window* w, rct_widgetindex widgetIndex)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (input_get_state() == INPUT_STATE_WIDGET_PRESSED || input_get_state() == INPUT_STATE_DROPDOWN_ACTIVE)
|
||||
if (input_get_state() == InputState::WidgetPressed || input_get_state() == InputState::DropdownActive)
|
||||
{
|
||||
if (!(input_test_flag(INPUT_FLAG_WIDGET_PRESSED)))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user