]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix a crash
authorRudolf Polzer <divverent@xonotic.org>
Sun, 3 Jul 2011 17:37:18 +0000 (19:37 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 3 Jul 2011 17:37:18 +0000 (19:37 +0200)
qcsrc/menu/xonotic/dialog_settings_audio.c

index 6e826749db37fe0009349d07b365c8c5a6876fdb..9d6d765068ff237c8a517fa8b12f97790904ca50 100644 (file)
@@ -29,9 +29,8 @@ void XonoticAudioSettingsTab_fill(entity me)
        me.TR(me);
                me.TDempty(me, 0.2);
                s = makeXonoticDecibelsSlider(-20, 0, 0.5, "bgmvolume");
-               makeMulti(s, "snd_channel259volume");
-               me.TD(me, 1, 0.8, e = makeXonoticSliderCheckBox(-1000000, 1, s, _("Music:")));
                makeMulti(s, "snd_channel2volume");
+               me.TD(me, 1, 0.8, e = makeXonoticSliderCheckBox(-1000000, 1, s, _("Music:")));
                me.TD(me, 1, 2, s);
                setDependentStringNotEqual(e, "mastervolume", "0");
                setDependentStringNotEqual(s, "mastervolume", "0");