From: terencehill Date: Fri, 7 Jun 2013 21:11:54 +0000 (+0200) Subject: Fix map vote cursor can't be moved if somebody connects to the server right on map... X-Git-Tag: xonotic-v0.8.0~360^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bc204c9619a7f92d75fcb12faa4040fde921673d;p=xonotic%2Fxonotic-data.pk3dir.git Fix map vote cursor can't be moved if somebody connects to the server right on map vote --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 273f427e4..6df4576ef 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4593,7 +4593,7 @@ void HUD_Main (void) hud_panel[panel_order[i]].update_time = time; } } - else if (hud_configure_prev && autocvar_hud_cursormode) + else if(hud_configure_prev && hud_configure_prev != -1 && autocvar_hud_cursormode) setcursormode(0); hud_configure_prev = autocvar__hud_configure;