From: terencehill Date: Tue, 5 Feb 2013 09:16:35 +0000 (+0100) Subject: Fix blocked cursor if hud config is already active on map start X-Git-Tag: xonotic-v0.7.0~98^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1b336fcd1e5bf9dfb0921fe928e5377cc5d3c6c9;p=xonotic%2Fxonotic-data.pk3dir.git Fix blocked cursor if hud config is already active on map start --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 49ff69d3b..a5fe9372f 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -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;