bool HUD_QuickMenu_Forbidden()
{
return (mv_active
+ || scoreboard_ui_enabled
|| (hud_configure_prev && hud_configure_prev != -1)
|| HUD_MinigameMenu_IsOpened()
|| (QuickMenu_TimeOut && time > QuickMenu_TimeOut));
mouseClicked = 0;
hudShiftState = 0;
- // we must unset the player's buttons, as they aren't released elsewhere
- localcmd("-fire\n");
- localcmd("-fire2\n");
- localcmd("-use\n");
- localcmd("-hook\n");
- localcmd("-jump\n");
+ Release_Common_Keys();
QuickMenu_TimeOut_Set();
return true;
if(teamplayers && !team_count)
return;
+ Scoreboard_UpdatePlayerTeams();
for(pl = players.sort_next; pl; pl = pl.sort_next)
{
if(teamplayers == 1 && (pl.team != myteam || pl.team == NUM_SPECTATOR)) // only own team players