]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 273f427e49d11b182662b0a9566c80734e1051f7..6df4576ef685581ff09043f68460d8335aba2ad7 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;