]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.c
fix lod group comparing for pos/neg zeroes
[xonotic/darkplaces.git] / menu.c
diff --git a/menu.c b/menu.c
index 696f753a17b87a6d70414dcfbc6e43c25ca61d28..804e42c1818c01d1ea3a6bc1ef67f7d41141570f 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -830,7 +830,7 @@ static void M_ScanSaves (void)
                strlcpy (m_filenames[i], "--- UNUSED SLOT ---", sizeof(m_filenames[i]));
                loadable[i] = false;
                dpsnprintf (name, sizeof(name), "s%i.sav", (int)i);
-               f = FS_Open (name, "rb", false, false);
+               f = FS_OpenRealFile (name, "rb", false);
                if (!f)
                        continue;
                // read enough to get the comment
@@ -2176,7 +2176,7 @@ static void M_Options_ColorControl_Draw (void)
        float x, c, s, t, u, v;
        cachepic_t      *p, *dither;
 
-       dither = Draw_CachePic ("gfx/colorcontrol/ditherpattern");
+       dither = Draw_CachePic_Flags ("gfx/colorcontrol/ditherpattern", CACHEPICFLAG_NOCLAMP);
 
        M_Background(320, 256);
 
@@ -2511,7 +2511,7 @@ static int                bind_grab;
 
 void M_Menu_Keys_f (void)
 {
-       key_dest = key_menu;
+       key_dest = key_menu_grabbed;
        m_state = m_keys;
        m_entersound = true;
 }