Release the mutex if we go dedicated.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3453 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-11-15 03:07:52 +00:00
parent eed5e36382
commit acc77b4f36

View file

@ -1033,6 +1033,14 @@ qboolean Sys_InitTerminal (void)
if (!AllocConsole())
return false;
#ifndef SERVERONLY
if (qwclsemaphore)
{
CloseHandle(qwclsemaphore);
qwclsemaphore = NULL;
}
#endif
//if we still have the splash screen, kill it
if (hwnd_dialog)
DestroyWindow(hwnd_dialog);