]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make the 'View Bobbing' slider also address horizontal bobbing, now that it exists.
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 30 Oct 2010 11:15:01 +0000 (14:15 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 30 Oct 2010 11:15:01 +0000 (14:15 +0300)
qcsrc/menu/xonotic/dialog_multiplayer_playersetup.c

index 751c5559180c592e5ac2b350dea2ad1b00afb0d6..a972dedd0dd6cda0d8d2417edab6923a10408e4d 100644 (file)
@@ -92,7 +92,8 @@ void XonoticPlayerSettingsTab_fill(entity me)
        me.TR(me);
                sl = makeXonoticSlider(0.45, 0.75, 0.01, "cl_bobcycle");
                me.TD(me, 1, 1, e = makeXonoticSliderCheckBox(0, 1, sl, "View bobbing:"));
-               me.TD(me, 1, 2, sl);    
+               makeMulti(sl, "cl_bob2cycle");
+               me.TD(me, 1, 2, sl);
        me.TR(me);
                me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Zoom factor:"));
                me.TD(me, 1, 2, e = makeXonoticSlider(2, 16, 0.5, "cl_zoomfactor"));