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:
parent
6422652191
commit
15af83a0d8
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue