mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 07:41:47 +00:00
Revert "Remove empty function Qcommon_shutdown()."
This reverts commit ec428bb752
. Looks like
the function is usefull for pull request #232.
This commit is contained in:
parent
f3df541b79
commit
6c7039af80
4 changed files with 11 additions and 0 deletions
|
@ -259,6 +259,7 @@ Sys_Quit(void)
|
|||
logfile = NULL;
|
||||
}
|
||||
|
||||
Qcommon_Shutdown();
|
||||
fcntl(0, F_SETFL, fcntl(0, F_GETFL, 0) & ~FNDELAY);
|
||||
|
||||
printf("------------------------------------\n");
|
||||
|
@ -278,6 +279,7 @@ Sys_Error(char *error, ...)
|
|||
#ifndef DEDICATED_ONLY
|
||||
CL_Shutdown();
|
||||
#endif
|
||||
Qcommon_Shutdown();
|
||||
|
||||
va_start(argptr, error);
|
||||
vsnprintf(string, 1024, error, argptr);
|
||||
|
|
|
@ -78,6 +78,8 @@ Sys_Error(char *error, ...)
|
|||
CL_Shutdown();
|
||||
#endif
|
||||
|
||||
Qcommon_Shutdown();
|
||||
|
||||
va_start(argptr, error);
|
||||
vsprintf(text, error, argptr);
|
||||
va_end(argptr);
|
||||
|
@ -108,6 +110,7 @@ Sys_Quit(void)
|
|||
CL_Shutdown();
|
||||
#endif
|
||||
|
||||
Qcommon_Shutdown();
|
||||
CloseHandle(qwclsemaphore);
|
||||
|
||||
if (dedicated && dedicated->value)
|
||||
|
|
|
@ -520,3 +520,8 @@ Qcommon_Frame(int msec)
|
|||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
Qcommon_Shutdown(void)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -745,6 +745,7 @@ void Z_FreeTags(int tag);
|
|||
|
||||
void Qcommon_Init(int argc, char **argv);
|
||||
void Qcommon_Frame(int msec);
|
||||
void Qcommon_Shutdown(void);
|
||||
|
||||
#define NUMVERTEXNORMALS 162
|
||||
extern vec3_t bytedirs[NUMVERTEXNORMALS];
|
||||
|
|
Loading…
Reference in a new issue