another s_delay (100) what should be (25)

origin
stpohle 23 years ago
parent 691867b0e0
commit f17f2f593d

@ -1,4 +1,4 @@
/* $Id: menu.c,v 1.16 2003/05/07 21:28:12 stpohle Exp $ */ /* $Id: menu.c,v 1.17 2003/05/07 21:30:36 stpohle Exp $ */
/* menu's for the game */ /* menu's for the game */
#include <SDL.h> #include <SDL.h>
@ -276,7 +276,7 @@ menu_get_text (char *title, char *text, int len)
if (event.type == SDL_KEYUP) if (event.type == SDL_KEYUP)
keypressed = 0; keypressed = 0;
s_delay (100); s_delay (25);
} }
}; };
@ -469,7 +469,7 @@ char *menu_dir_select (char *title, char *path, signed char dirflags) {
if (!keys[SDLK_RETURN] && event.type == SDL_KEYUP) if (!keys[SDLK_RETURN] && event.type == SDL_KEYUP)
keypressed = 0; keypressed = 0;
s_delay (100); s_delay (25);
} }
for (max = 0, de = destart; max != sel && de != NULL; de = de->next) for (max = 0, de = destart; max != sel && de != NULL; de = de->next)

Loading…
Cancel
Save