]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
fix entity networking AGAIN
[xonotic/darkplaces.git] / cl_parse.c
index 29eb8b726760437a2425bf91643cf1c6ec06bca8..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,6 +1620,9 @@ 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);