]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/gamecommand.qc
Merge remote branch 'origin/mirceakitsune/weapon_mine_layer' into fruitiex/fruitbalance
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / gamecommand.qc
index 6e2401166ccba5e1a5eb271c70dc4a2acd605851..4b2b9cf0c921345dd48d4032b745a9971b2600b3 100644 (file)
@@ -62,6 +62,13 @@ void GameCommand(string theCommand)
                return;
        }
 
+       if(argv(0) == "directpanelhudmenu")
+       {
+               // switch to a menu item
+               m_goto(strcat("HUD", argv(1)));
+               return;
+       }
+
        if(argv(0) == "skinselect")
        {
                m_goto_skin_selector();
@@ -87,10 +94,9 @@ void GameCommand(string theCommand)
                return;
        }
 
-       if(argv(0) == "dialog")
+       if(argv(0) == "setcompression")
        {
-               if(!isdemo()) // don't allow this command in demos
-                       showCommandLineDialog(1, argc-1);
+               updateCompression();
                return;
        }