mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Hide calls to CL_Shutdown() behind !DEDICATED_ONLY
This commit is contained in:
parent
8ca30adf46
commit
d9560b4020
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue