File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Core/GameEngine/Source/Common/Audio Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 7272
7373// /////////////////////////////////////////////////////////////////////////////////////////////////
7474
75- static const AsciiString s_noSoundString (" NoSound" );
76-
7775static const char * TheSpeakerTypes[] =
7876{
7977 " 2 Speakers" ,
@@ -409,7 +407,7 @@ void AudioManager::getInfoForAudioEvent( const AudioEventRTS *eventToFindAndFill
409407// -------------------------------------------------------------------------------------------------
410408AudioHandle AudioManager::addAudioEvent (const AudioEventRTS *eventToAdd)
411409{
412- if (eventToAdd->getEventName ().isEmpty () || eventToAdd->getEventName () == s_noSoundString ) {
410+ if (eventToAdd->getEventName ().isEmpty () || eventToAdd->getEventName () == AsciiString ( " NoSound " ) ) {
413411 return AHSV_NoSound;
414412 }
415413
You can’t perform that action at this time.
0 commit comments