]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a checkbox to the menu to disable jetpack jump
authorTimePath <andrew.hardaker1995@gmail.com>
Thu, 18 Dec 2014 02:53:00 +0000 (13:53 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Thu, 18 Dec 2014 02:53:00 +0000 (13:53 +1100)
qcsrc/menu/xonotic/dialog_settings_input.c

index 4287f1f82e37d52bb8be673378a3ac372e99f469..0fb0e1ccdee14f68aba283d734a5bdf59659c0db 100644 (file)
@@ -89,6 +89,8 @@ void XonoticInputSettingsTab_fill(entity me)
                me.TD(me, 1, 3, e = makeXonoticCheckBox(1, "cl_movement_track_canjump", _("Automatically repeat jumping if holding jump")));
                        e.sendCvars = TRUE;
        me.TR(me);
+               me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "cl_jetpack_jump", _("Activate jetpack by pressing jump in the air")));
+                       e.sendCvars = TRUE;
        me.TR(me);
                if(cvar_type("joy_enable") & CVAR_TYPEFLAG_ENGINE)
                {