X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fevents.c;h=c2548e5f0e065959b917399a795faf078dbbd6b5;hb=aeffe316860a47217d9b5074ade03cebda8730c9;hp=fe82932a746867dcfd26d64f01208ecf2e8e0a2f;hpb=ab8e032c1d2c7ec3df6b8491bdbd8f8e57c7dc70;p=rocksndiamonds.git 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 &&