]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.c
Remove model->surfmesh.shadowmesh which was a vertex-welded version of the regular...
[xonotic/darkplaces.git] / menu.c
diff --git a/menu.c b/menu.c
index aa6fb7b0c8e074d1142531800308ae8e1463ea8f..9d3a4c20f6d039307dd1709e44391377d65037e0 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -414,7 +414,7 @@ void M_Menu_Main_f (void)
                MAIN_ITEMS = 5;
 
        // check if the game data is missing and use a different main menu if so
-       m_missingdata = !forceqmenu.integer && !Draw_IsPicLoaded(Draw_CachePic(s));
+       m_missingdata = !forceqmenu.integer && !Draw_IsPicLoaded(Draw_CachePic_Flags(s, CACHEPICFLAG_FAILONMISSING));
        if (m_missingdata)
                MAIN_ITEMS = 2;