mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
make sure svs.demofile is set to NULL after closing it
This commit is contained in:
parent
662229a568
commit
a5044a93eb
1 changed files with 1 additions and 0 deletions
|
@ -550,6 +550,7 @@ SV_ServerRecord_f(void)
|
|||
{
|
||||
Com_Printf("not enough buffer space available.\n");
|
||||
fclose(svs.demofile);
|
||||
SVS.demofile = NULL;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue