fix joystick

This commit is contained in:
theoddone33
2001-04-18 02:17:31 +00:00
parent 4a5c8c3b02
commit a4bd460691

View File

@@ -1305,7 +1305,7 @@ int startgame(void)
} }
if (sdl_inited == 0) { if (sdl_inited == 0) {
if (SDL_Init(SDL_INIT_TIMER|SDL_INIT_VIDEO) < 0) { if (SDL_Init(SDL_INIT_TIMER|SDL_INIT_VIDEO|SDL_INIT_JOYSTICK) < 0) {
fprintf(stderr, "Could not initialize SDL!\n"); fprintf(stderr, "Could not initialize SDL!\n");
return FALSE; return FALSE;
} else { } else {