We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 567e600 commit c2403d3Copy full SHA for c2403d3
Core/GameEngine/Source/Common/Audio/GameAudio.cpp
@@ -1098,7 +1098,9 @@ void AudioManager::releaseAudioEventRTS( AudioEventRTS *&eventToRelease )
1098
//-------------------------------------------------------------------------------------------------
1099
void AudioManager::loseFocus( void )
1100
{
1101
- DEBUG_ASSERTLOG(m_savedValues == NULL, ("AudioManager::loseFocus() - leak - jkmcd"));
+ if (m_savedValues)
1102
+ return;
1103
+
1104
// In this case, make all the audio go silent.
1105
m_savedValues = NEW Real[NUM_VOLUME_TYPES];
1106
m_savedValues[0] = m_systemMusicVolume;
0 commit comments