]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
When showing a panel specific menu, set the normal cursor as editor cursor and do...
authorterencehill <piuntn@gmail.com>
Sat, 18 Dec 2010 22:37:33 +0000 (23:37 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 18 Dec 2010 22:37:33 +0000 (23:37 +0100)
qcsrc/client/hud.qc

index 781414da65d8bd996fa6109f11b310df26a4dfac..db842f6ae630072e37a744cc95d8490776f69bc2 100644 (file)
@@ -1593,7 +1593,10 @@ void HUD_Panel_Mouse()
        }
        else
        {
-               mouse_over_panel = HUD_Panel_Check_Mouse_Pos();
+               if(menu_enabled == 2)
+                       mouse_over_panel = 0;
+               else
+                       mouse_over_panel = HUD_Panel_Check_Mouse_Pos();
                if (mouse_over_panel && tab_panel == -1)
                        drawfill(panel_pos - '1 1 0' * panel_bg_border, panel_size + '2 2 0' * panel_bg_border, '1 1 1', .1, DRAWFLAG_NORMAL);
        }