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 )
return;
HRESULT hr = buf->SetVolume( volume );
HRESULT hr = buf->SetVolume( new_volume );
if( FAILED(hr) )
{
static bool bWarned = false;