Fix map vote cursor can't be moved if somebody connects to the server right on map...
authorterencehill <piuntn@gmail.com>
Fri, 7 Jun 2013 21:11:54 +0000 (23:11 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 7 Jun 2013 21:11:54 +0000 (23:11 +0200)
qcsrc/client/hud.qc

index 273f427..6df4576 100644 (file)
@@ -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;