X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=sys_win.c;h=12b4174a2ea653f7fd15bc86f8528aa79e7d314b;hb=86092f3c83153e7b6cca1a00f41887416978f1f0;hp=de8e266a61460a2c8cf2413bafe51d6c2a32dab1;hpb=fadb17997b4ecd79eacb1c4741b62445581823e1;p=xonotic%2Fdarkplaces.git diff --git a/sys_win.c b/sys_win.c index de8e266a..12b4174a 100644 --- a/sys_win.c +++ b/sys_win.c @@ -363,6 +363,8 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin Host_Main(); + Sys_Quit(0); + /* return success of application */ return true; }