]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
fixed bug where animated mdl skins (such as Tomaz's health box and
[xonotic/darkplaces.git] / sys_shared.c
index 9abc08d4926dcca45503509a1f8317637e04aca2..f636ff310285ba8a06405f31e96b9f58ba3b271b 100644 (file)
@@ -17,11 +17,11 @@ char *Sys_TimeString(const char *timeformat)
 
 
 extern qboolean host_shuttingdown;
-void Sys_Quit (void)
+void Sys_Quit (int returnvalue)
 {
        host_shuttingdown = true;
        Host_Shutdown();
-       exit(0);
+       exit(returnvalue);
 }
 
 /*