1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

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

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);
}