diff --git a/source/soundmanager/SoundManager.cpp b/source/soundmanager/SoundManager.cpp index 5662df0ca7..f9848c9bf9 100644 --- a/source/soundmanager/SoundManager.cpp +++ b/source/soundmanager/SoundManager.cpp @@ -361,15 +361,10 @@ bool CSoundManager::InDistress() else if ( (timer_Time() - m_DistressTime) > 10 ) { m_DistressTime = 0; - LOGERROR(L"Sound: Coming out of distress mode suffering %ld errors\n", m_DistressErrCount); +// Coming out of distress mode m_DistressErrCount = 0; return false; } - else - { -// LOGERROR(L"Sound: Still in distress mode suffering %ld errors at %ld time\n", m_DistressErrCount, m_DistressTime); - } - return true; } @@ -378,8 +373,7 @@ void CSoundManager::SetDistressThroughShortage() { CScopeLock lock(m_DistressMutex); - if ( m_DistressTime == 0 ) - LOGERROR(L"Sound: Entering distress mode through shortage\n", 0); +// Going into distress for normal reasons m_DistressTime = timer_Time(); } @@ -388,8 +382,7 @@ void CSoundManager::SetDistressThroughError() { CScopeLock lock(m_DistressMutex); - if ( m_DistressTime == 0 ) - LOGERROR(L"Sound: Entering distress mode through error\n", 0); +// Going into distress due to unknown error m_DistressTime = timer_Time(); m_DistressErrCount++;