X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fmenu%2Fcommand%2Fmenu_cmd.qc;h=bc044a2aa585b54d4ed915f7b403e5943ff6d983;hp=2c0b1edf38aa33fcd42e6117bf4a5c6c108bd04a;hb=13a3ce5cdf01a322755b2f0e74d168cd5247d789;hpb=265b681e0fb49239df1bfc431a903f66244a3172 diff --git a/qcsrc/menu/command/menu_cmd.qc b/qcsrc/menu/command/menu_cmd.qc index 2c0b1edf38..bc044a2aa5 100644 --- a/qcsrc/menu/command/menu_cmd.qc +++ b/qcsrc/menu/command/menu_cmd.qc @@ -1,3 +1,7 @@ +#include "menu_cmd.qh" + +#include "../../common/command/generic.qh" + string _dumptree_space; void _dumptree_open(entity pass, entity me) { @@ -51,6 +55,12 @@ void GameCommand(string theCommand) return; } + if(argv(0) == "update_conwidths_before_vid_restart") + { + updateConwidths(cvar("vid_width"), cvar("vid_height"), cvar("vid_pixelheight")); + return; + } + if(argv(0) == "directmenu" || argv(0) == "directpanelhudmenu") { string filter = string_null;