]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
cmd: Delete stray function prototype that never actually got a definition
[xonotic/darkplaces.git] / sys_win.c
index aa04130add342067e35a0ec043d8e30d96d0099a..12b4174a2ea653f7fd15bc86f8528aa79e7d314b 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -65,7 +65,7 @@ void Sys_Error (const char *error, ...)
        dpvsnprintf (text, sizeof (text), error, argptr);
        va_end (argptr);
 
-       Con_Errorf ("Engine Error: %s\n", text);
+       Con_Printf(CON_ERROR "Engine Error: %s\n", text);
 
        // close video so the message box is visible, unless we already tried that
        if (!in_sys_error0 && cls.state != ca_dedicated)
@@ -363,6 +363,8 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin
 
        Host_Main();
 
+       Sys_Quit(0);
+
        /* return success of application */
        return true;
 }