]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix blocked cursor if hud config is already active on map start
authorterencehill <piuntn@gmail.com>
Tue, 5 Feb 2013 09:16:35 +0000 (10:16 +0100)
committerterencehill <piuntn@gmail.com>
Tue, 5 Feb 2013 09:16:35 +0000 (10:16 +0100)
qcsrc/client/hud.qc

index 49ff69d3bd7cfd3b8ff114490454d5872fbc2f5f..a5fe9372ff276de7d0f6f0db0d783045c45e7d6e 100644 (file)
@@ -5220,7 +5220,7 @@ void HUD_Main (void)
                        HUD_Panel_UpdatePosSizeForId(highlightedPanel);
                        HUD_Panel_HlBorder(panel_bg_border + 1.5 * hlBorderSize, '0 0.5 1', 0.25 * (1 - autocvar__menu_alpha));
                }
-               if (!hud_configure_prev)
+               if(!hud_configure_prev || hud_configure_prev == -1)
                {
                        if(autocvar_hud_cursormode) { setcursormode(1); }
                        hudShiftState = 0;