]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Clear modifier keys state entering hud setup mode e.g. in the case CTRL was pressed...
authorterencehill <piuntn@gmail.com>
Sun, 15 Jan 2012 17:07:38 +0000 (18:07 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 15 Jan 2012 17:07:38 +0000 (18:07 +0100)
qcsrc/client/hud.qc

index 1d0ad220022b8f1cf33cbb6282d01863cd303c59..75c4935ad0abad12d5df4d626014b43e92a865b6 100644 (file)
@@ -5093,6 +5093,8 @@ 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)
+                       hudShiftState = 0;
        }
 
        hud_configure_prev = autocvar__hud_configure;