From: divverent Date: Tue, 15 Jul 2008 10:47:48 +0000 (+0000) Subject: call CSQC_Shutdown between levels too! X-Git-Tag: xonotic-v0.1.0preview~2173 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=0aaca502052109dcd0f1f032e595ec9e305a5553;ds=sidebyside call CSQC_Shutdown between levels too! git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8408 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_main.c b/cl_main.c index 81d3b9ce..37bb7c2c 100644 --- a/cl_main.c +++ b/cl_main.c @@ -100,6 +100,8 @@ void CL_ClearState(void) int i; entity_t *ent; + CL_VM_ShutDown(); + // wipe the entire cl structure Mem_EmptyPool(cls.levelmempool); memset (&cl, 0, sizeof(cl));