]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
new m_newmap() MenuQC function which gets executed each time client goes new level...
[xonotic/darkplaces.git] / cl_parse.c
index 72e377da5158a02dea3e9604e93e35969d0f8aa8..eacfa7bf97aac3d628fbe0d884ebc13e6ad5f9f1 100644 (file)
@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "csprogs.h"
 #include "libcurl.h"
 #include "utf8lib.h"
+#include "menu.h"
 
 const char *svc_strings[128] =
 {
@@ -486,6 +487,9 @@ static void CL_SetupWorldModel(void)
        // check memory integrity
        Mem_CheckSentinelsGlobal();
 
+       // make menu know
+       MR_NewMap();
+
        // load the csqc now
        if (cl.loadcsqc)
        {