call CSQC_Shutdown between levels too!
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 15 Jul 2008 10:47:48 +0000 (10:47 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 15 Jul 2008 10:47:48 +0000 (10:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8408 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index 81d3b9c..37bb7c2 100644 (file)
--- 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));