]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_main.c
physics: fix and refactor unsticking
[xonotic/darkplaces.git] / cl_main.c
index 0195c8b767a3ab175d68dd7008788a3727716c12..b4d7760c328b40db27b44b224684aa11557fc521 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -2091,7 +2091,7 @@ void CL_UpdateWorld(void)
                CL_UpdateViewModel();
 
                // when csqc is loaded, it will call this in CSQC_UpdateView
-               if (!CLVM_prog->loaded)
+               if (!CLVM_prog->loaded || CLVM_prog->flag & PRVM_CSQC_SIMPLE)
                {
                        // clear the CL_Mesh_Scene() used for some engine effects
                        CL_MeshEntities_Scene_Clear();