Hide calls to CL_Shutdown() behind !DEDICATED_ONLY

This commit is contained in:
Yamagi Burmeister 2012-06-03 13:13:13 +02:00
parent 9e6df10550
commit 723b1cad47

View file

@ -67,7 +67,10 @@ Sys_Error(char *error, ...)
va_list argptr;
char text[1024];
#ifndef DEDICATED_ONLY
CL_Shutdown();
#endif
Qcommon_Shutdown();
va_start(argptr, error);
@ -92,7 +95,10 @@ Sys_Quit(void)
{
timeEndPeriod(1);
#ifndef DEDICATED_ONLY
CL_Shutdown();
#endif
Qcommon_Shutdown();
CloseHandle(qwclsemaphore);