X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Ftarget_music.qc;h=5703c146d21703d650638a7d42277c7a9f3fdfc6;hb=2a9df1dc726597e8943be9ef956620c36693d219;hp=b1957038eb4eb9b7c1a97574713ceed3e42bf2e4;hpb=cb78214cf1252fa80df3490c0cd3d41bae72bbb8;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/target_music.qc b/qcsrc/client/target_music.qc index b1957038e..5703c146d 100644 --- a/qcsrc/client/target_music.qc +++ b/qcsrc/client/target_music.qc @@ -39,7 +39,7 @@ void TargetMusic_Advance() else e.state = 0; } - vol = e.state * e.volume * cvar("bgmvolume"); + vol = e.state * e.volume * autocvar_bgmvolume; if(vol != vol0) { if(vol0 < 0)