Fix hold down speed

This commit is contained in:
wolfreak99 2017-07-03 19:51:00 -04:00 committed by Michael Steenbeek
parent 49cdb021f7
commit ac81072597
1 changed files with 1 additions and 1 deletions

View File

@ -1177,7 +1177,7 @@ void input_state_widget_pressed(sint32 x, sint32 y, sint32 state, rct_widgetinde
_clickRepeatTicks++;
// Handle click repeat
if (_clickRepeatTicks >= 16 && (_clickRepeatTicks & 3) != 0) {
if (_clickRepeatTicks >= 16 && (_clickRepeatTicks & 3) == 0) {
if (w->hold_down_widgets & (1ULL << widgetIndex)) {
window_event_mouse_down_call(w, widgetIndex);
}