Fix map_restart command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6214 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e800079baf
commit
1c32a8ef8c
1 changed files with 2 additions and 4 deletions
|
@ -1607,7 +1607,8 @@ static qintptr_t EXPORT_FN Q3G_SystemCallsNative(qintptr_t arg, ...)
|
||||||
void SVQ3_ShutdownGame(qboolean restarting)
|
void SVQ3_ShutdownGame(qboolean restarting)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
CG_Stop();
|
if (!restarting)
|
||||||
|
CG_Stop();
|
||||||
if (!q3gamevm)
|
if (!q3gamevm)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -1622,10 +1623,7 @@ void SVQ3_ShutdownGame(qboolean restarting)
|
||||||
plugfuncs->GFreeAll(&botlibhunkmem);
|
plugfuncs->GFreeAll(&botlibhunkmem);
|
||||||
VM_fcloseall(Z_TAG_BOTLIB);
|
VM_fcloseall(Z_TAG_BOTLIB);
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
|
|
||||||
if (!restarting)
|
|
||||||
{
|
|
||||||
for (i = 0; i < countof(svq3_configstrings); i++)
|
for (i = 0; i < countof(svq3_configstrings); i++)
|
||||||
{
|
{
|
||||||
if (svq3_configstrings[i])
|
if (svq3_configstrings[i])
|
||||||
|
|
Loading…
Reference in a new issue