diff --git a/engine/client/cd_linux.c b/engine/client/cd_linux.c index ebab55908..31fc73f11 100644 --- a/engine/client/cd_linux.c +++ b/engine/client/cd_linux.c @@ -342,13 +342,13 @@ void CDAudio_Update(void) { if (cdvolume) { - Cvar_SetValue ("bgmvolume", 0.0); + Cvar_SetValue (&bgmvolume, 0.0); cdvolume = bgmvolume.value; CDAudio_Pause (); } else { - Cvar_SetValue ("bgmvolume", 1.0); + Cvar_SetValue (&bgmvolume, 1.0); cdvolume = bgmvolume.value; CDAudio_Resume (); }