]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
COMPAT_XON080_BGMVOLUME should be the name. divVerent/musicvolume
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 9 Feb 2015 12:15:20 +0000 (13:15 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 9 Feb 2015 12:15:20 +0000 (13:15 +0100)
qcsrc/client/target_music.qc
qcsrc/common/util-pre.qh
qcsrc/menu/xonotic/dialog_settings_audio.qc

index 988c2cb46e863da6227033a710fd675277fe2feb..7eb809b77d1820b771260c96f9743f703604ff5b 100644 (file)
@@ -37,7 +37,7 @@ void TargetMusic_Advance()
                if(vol != vol0)
                {
                        if(e.noise == "")
-#ifdef COMPAT_XON070_BGMVOLUME
+#ifdef COMPAT_XON080_BGMVOLUME
                                cvar_settemp("bgmvolume", ftos(vol));
 #else
                                cvar_set("bgmvolume", ftos(vol));
index 111e13b77ff5723c7d499f3635cb9567468d0ab0..fcbce457b3fa029136bca347b9264437738adfea 100644 (file)
@@ -3,7 +3,7 @@
 
 #ifndef NOCOMPAT
     #define COMPAT_NO_MOD_IS_XONOTIC
-    #define COMPAT_XON070_BGMVOLUME
+    #define COMPAT_XON080_BGMVOLUME
 #endif
 
 #ifndef QCC_SUPPORT_ACCUMULATE
index e71bbd73675f8d84128911f65920ac454f0901e7..8e78a6c0a72b646ef6fc4dd612b4f21e9cf4e95c 100644 (file)
@@ -30,7 +30,7 @@ void XonoticAudioSettingsTab_fill(entity me)
        me.TR(me);
                me.TDempty(me, 0.2);
                s = makeXonoticDecibelsSlider(-40, 0, 0.4, "musicvolume");
-#ifdef COMPAT_XON070_BGMVOLUME
+#ifdef COMPAT_XON080_BGMVOLUME
                makeMulti(s, "bgmvolume");
 #endif
                me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Music:")));