X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fgamecommand.qc;h=4b2b9cf0c921345dd48d4032b745a9971b2600b3;hb=d3d9a5dd70c404fae3eabea14d5d271c04403ea5;hp=84c98e0da2db4f2f8fb76e1cc3b5b374214072bc;hpb=4fe1e97aeaf81e1e04c0ae61d848a59ef4c53f98;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/gamecommand.qc b/qcsrc/menu/gamecommand.qc index 84c98e0da..4b2b9cf0c 100644 --- a/qcsrc/menu/gamecommand.qc +++ b/qcsrc/menu/gamecommand.qc @@ -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,6 +94,12 @@ void GameCommand(string theCommand) return; } + if(argv(0) == "setcompression") + { + updateCompression(); + return; + } + #if 0 if(argv(0) == "tokentest") {