fix SetVolume

This commit is contained in:
Glenn Maynard
2004-09-05 05:55:36 +00:00
parent ffbe769356
commit c5ec5aa56b
+1 -1
View File
@@ -307,7 +307,7 @@ void DSoundBuf::SetVolume(float vol)
if( volume == new_volume ) if( volume == new_volume )
return; return;
HRESULT hr = buf->SetVolume( volume ); HRESULT hr = buf->SetVolume( new_volume );
if( FAILED(hr) ) if( FAILED(hr) )
{ {
static bool bWarned = false; static bool bWarned = false;