X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fevents.c;fp=src%2Fevents.c;h=c2548e5f0e065959b917399a795faf078dbbd6b5;hp=fe82932a746867dcfd26d64f01208ecf2e8e0a2f;hb=18643936792bd4166fb7aee3d14299a463dc9ef5;hpb=009c5cf7cf504775f90e2223241fe19131182e96 diff --git a/src/events.c b/src/events.c index fe82932a..c2548e5f 100644 --- a/src/events.c +++ b/src/events.c @@ -108,7 +108,7 @@ static int FilterEvents(const Event *event) { SetMouseCursor(CURSOR_DEFAULT); - DelayReached(&special_cursor_delay, 0); + ResetDelayCounter(&special_cursor_delay); cursor_mode_last = CURSOR_DEFAULT; } @@ -336,7 +336,7 @@ static void HandleMouseCursor(void) // display normal pointer if mouse pressed if (button_status != MB_RELEASED) - DelayReached(&special_cursor_delay, 0); + ResetDelayCounter(&special_cursor_delay); if (gfx.cursor_mode != CURSOR_PLAYFIELD && cursor_inside_playfield &&