]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
forgot to give strlcat a size
[xonotic/darkplaces.git] / sys_shared.c
index a72125f244940f5046f2111e45624a3d64756c7f..07fc4b61b99c07fac1728af40f648a86606a30dd 100644 (file)
@@ -93,6 +93,11 @@ void Sys_Printf(const char *fmt, ...)
        Sys_Print(msg);
 }
 
+void Sys_Quit (void)
+{
+       Host_Shutdown();
+       exit(0);
+}
 
 char engineversion[128];
 
@@ -118,6 +123,7 @@ void Sys_Shared_EarlyInit(void)
 #endif
        snprintf (engineversion, sizeof (engineversion), "%s %s %s", gamename, os, buildstring);
 
+// COMMANDLINEOPTION: Console: -nostdout disables text output to the terminal the game was launched from
        if (COM_CheckParm("-nostdout"))
                sys_nostdout = 1;
        else