diff --git a/src/sdl2/main.c b/src/sdl2/main.c
index 9533040a3454bf9ae127a4651619ece810a5f1a0..3f149b53302fc22e1722dccbb1c382d33470eef8 100644 (file)
--- a/src/sdl2/main.c
+++ b/src/sdl2/main.c
R_done();
MUS_done();
S_done();
- M_shutdown();
SDL_Quit();
puts("\nCRITICAL ERROR:");
va_start(ap, s);
pl2.kwr = KEY_2;
pl2.kp = KEY_E;
srand(SDL_GetTicks());
- F_startup();
CFG_load();
F_addwad("doom2d.wad");
F_initwads();
- M_startup();
- F_allocres();
S_init();
MUS_init();
R_init();
R_done();
MUS_done();
S_done();
- M_shutdown();
SDL_Quit();
return 0;
}