]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
host: Return to main() if the loop breaks and Sys_Quit from there
[xonotic/darkplaces.git] / sys_sdl.c
index 9285f55dadf29ba177c00ddec7beb718438f2ad2..e57bd669cfce35a14dd0b82396061521e1b5586b 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -222,6 +222,8 @@ int main (int argc, char *argv[])
 
        Host_Main();
 
+       Sys_Quit(0);
+       
        return 0;
 }