mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
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
This commit is contained in:
parent
4e2299ef64
commit
85110f82db
1 changed files with 2 additions and 2 deletions
|
@ -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 ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue