mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 03:35:09 +01:00
Fix #385, made widget_is_enabled return 1 if true
This commit is contained in:
@@ -530,11 +530,8 @@ static void input_leftmousedown(int x, int y, rct_window *w, int widgetIndex)
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// comment check as it disables the rotate station/building button in construction window
|
||||
// if (!widget_is_enabled(w, widgetIndex))
|
||||
// break;
|
||||
if (widget_is_disabled(w, widgetIndex))
|
||||
break;
|
||||
if (!widget_is_enabled(w, widgetIndex))
|
||||
break;
|
||||
|
||||
sound_play_panned(SOUND_CLICK_1, w->x + (widget->left + widget->right) / 2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user