]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Remove HUD_Minigame_Showpanels() and minigame_isactive(): it reduces function calls...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index c375ccaa47c9aee3def6804eb33012935f1b9158..c272e3217952cfb258cfa292a034351e80e82981 100644 (file)
@@ -2249,7 +2249,7 @@ void CSQC_UpdateView(entity this, float w, float h)
 
        if(autocvar__hud_configure)
                HUD_Panel_Mouse();
-       else if ( HUD_MinigameMenu_IsOpened() || minigame_isactive() )
+       else if (HUD_MinigameMenu_IsOpened() || active_minigame)
                HUD_Minigame_Mouse();
        else if(QuickMenu_IsOpened())
                QuickMenu_Mouse();