tracking down volume related assert
This commit is contained in:
@@ -398,7 +398,7 @@ float PrefsManager::GetSoundVolume()
|
||||
if ( m_fSoundVolume==-1 )
|
||||
return DEFAULT_SOUND_VOLUME;
|
||||
else
|
||||
return m_fSoundVolume;
|
||||
return clamp(m_fSoundVolume,0.0f,1.0f);
|
||||
}
|
||||
|
||||
CString PrefsManager::GetInputDrivers() {
|
||||
|
||||
Reference in New Issue
Block a user