From 85110f82dbfbe57df3850f1ebcc10c9e613523bb Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 18 Jan 2005 15:43:34 +0000 Subject: [PATCH] Fixed a crash in linux with cds git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@809 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cd_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (); }