mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 06:32:00 +00:00
Try to fix potential crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6094 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9051c590e2
commit
d2937174bf
1 changed files with 1 additions and 0 deletions
|
@ -830,6 +830,7 @@ void PR_Deinit(void)
|
|||
if (svprogfuncs->Shutdown)
|
||||
svprogfuncs->Shutdown(svprogfuncs);
|
||||
sv.world.progs = NULL;
|
||||
memset(&gfuncs, 0, sizeof(gfuncs));
|
||||
svprogfuncs=NULL;
|
||||
|
||||
for (i = 0; i < sv.maxlightstyles; i++)
|
||||
|
|
Loading…
Reference in a new issue