remove log entries concerning sound manager distress mode
This was SVN commit r13273.
This commit is contained in:
parent
60a91cb032
commit
b75183eba2
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user