fix potential crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4043 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-05-10 19:09:51 +00:00
parent 6422652191
commit 15af83a0d8
1 changed files with 2 additions and 0 deletions

View File

@ -516,10 +516,12 @@ void CL_ClearTEnts (void)
cl_beams_max = 0;
BZ_Free(cl_beams);
cl_beams = NULL;
beams_running = 0;
cl_explosions_max = 0;
BZ_Free(cl_explosions);
cl_explosions = NULL;
explosions_running = 0;
}
static void CL_ClearExplosion(explosion_t *exp)