HUD_QuickMenu_Buffer_Close();
if(autocvar_hud_cursormode)
+ if(!mv_active)
setcursormode(0);
}
if(bInputType == 2)
return false;
- if(!HUD_QuickMenu_IsOpened() || autocvar__hud_configure)
+ if(!HUD_QuickMenu_IsOpened() || autocvar__hud_configure || mv_active)
return false;
if(bInputType == 3)
}
void HUD_QuickMenu_Mouse()
{
+ if(mv_active) return;
+
if(!mouseClicked)
if(prevMouseClicked & S_MOUSE2)
{
return;
}
- if not(autocvar_hud_cursormode)
+ if(!autocvar_hud_cursormode)
{
mousepos = mousepos + getmousepos() * autocvar_menu_mouse_speed;
color = '1 1 1';
drawfill(panel_pos, eX * panel_size_x + eY * fontsize_y, color, .2, DRAWFLAG_NORMAL);
- if(!mouseClicked && prevMouseClicked & S_MOUSE1)
+ if(!mouseClicked && (prevMouseClicked & S_MOUSE1))
{
float f;
if (entry_num < QUICKMENU_MAXLINES - 1)
HUD_QuickMenu_Close();
if(!hud_draw_maximized) return;
+ if(mv_active) return;
//if(!autocvar_hud_panel_quickmenu) return; // autocvar exists only for conformity with other panels
if(!hud_panel_quickmenu) return;
}
float HUD_WouldDrawScoreboard() {
if (autocvar__hud_configure)
return 0;
+ else if (HUD_QuickMenu_IsOpened())
+ return 0;
else if (scoreboard_showscores)
return 1;
else if (intermission == 1)