]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
added sv_gameplayfix_q1bsptracelinereportstexture cvar (default 1), to
[xonotic/darkplaces.git] / cl_parse.c
index 08c726faa80bfd469dea4600b86a5845cc50308f..1f229fd6a51177b0af6a6083c4cba0f5373cb3b5 100644 (file)
@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "libcurl.h"
 #include "utf8lib.h"
 #include "menu.h"
+#include "cl_video.h"
 
 const char *svc_strings[128] =
 {
@@ -1619,7 +1620,11 @@ void CL_ParseServerInfo (void)
        protocolversion_t protocol;
        int nummodels, numsounds;
 
+       // if we start loading a level and a video is still playing, stop it
+       CL_VideoStop();
+
        Con_DPrint("Serverinfo packet received.\n");
+       Collision_Cache_Reset(true);
 
        // if server is active, we already began a loading plaque
        if (!sv.active)