mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-13 15:31:36 +00:00
Hide calls to CL_Shutdown() behind !DEDICATED_ONLY
This commit is contained in:
parent
9e6df10550
commit
723b1cad47
1 changed files with 6 additions and 0 deletions
|
@ -67,7 +67,10 @@ Sys_Error(char *error, ...)
|
||||||
va_list argptr;
|
va_list argptr;
|
||||||
char text[1024];
|
char text[1024];
|
||||||
|
|
||||||
|
#ifndef DEDICATED_ONLY
|
||||||
CL_Shutdown();
|
CL_Shutdown();
|
||||||
|
#endif
|
||||||
|
|
||||||
Qcommon_Shutdown();
|
Qcommon_Shutdown();
|
||||||
|
|
||||||
va_start(argptr, error);
|
va_start(argptr, error);
|
||||||
|
@ -92,7 +95,10 @@ Sys_Quit(void)
|
||||||
{
|
{
|
||||||
timeEndPeriod(1);
|
timeEndPeriod(1);
|
||||||
|
|
||||||
|
#ifndef DEDICATED_ONLY
|
||||||
CL_Shutdown();
|
CL_Shutdown();
|
||||||
|
#endif
|
||||||
|
|
||||||
Qcommon_Shutdown();
|
Qcommon_Shutdown();
|
||||||
CloseHandle(qwclsemaphore);
|
CloseHandle(qwclsemaphore);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue