rnd-19981216-1
[rocksndiamonds.git] / src / events.c
index 53b8171422ab97d250b7f66508d5944fff877726..38f58f940148d45c43783061b548f1e26605f98a 100644 (file)
@@ -676,7 +676,8 @@ void HandleJoystick()
     {
       static unsigned long joystickmove_delay = 0;
 
-      if (joystick && !button && !DelayReached(&joystickmove_delay, 150))
+      if (joystick && !button &&
+         !DelayReached(&joystickmove_delay, GADGET_FRAME_DELAY))
        newbutton = dx = dy = 0;
 
       if (game_status==MAINMENU)