From 15af83a0d8bd07cf383727fd09e1038f57e5153e Mon Sep 17 00:00:00 2001
From: Spoike <acceptthis@users.sourceforge.net>
Date: Thu, 10 May 2012 19:09:51 +0000
Subject: [PATCH] fix potential crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4043 fc73d0e0-1445-4013-8a0c-d673dee63da5
---
 engine/client/cl_tent.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/engine/client/cl_tent.c b/engine/client/cl_tent.c
index 86e5bfb99..a1a87b920 100644
--- a/engine/client/cl_tent.c
+++ b/engine/client/cl_tent.c
@@ -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)