SHERLOCK: Fix compilation error on OS X

The error was:
no viable conversion from 'std::__1::nullptr_t' to 'const Common::String'
This commit is contained in:
Thierry Crozat 2015-10-11 18:57:18 +01:00
parent 01aba70b04
commit eba16c05d7

View file

@ -251,7 +251,7 @@ void Sound::playSpeech(const Common::String &name) {
if (IS_SERRATED_SCALPEL) {
Common::String filename = formFilename(name);
if (playSoundResource(filename, nullptr, Audio::Mixer::kSFXSoundType, _speechHandle))
if (playSoundResource(filename, Common::String(), Audio::Mixer::kSFXSoundType, _speechHandle))
_speechPlaying = true;
} else {
// Figure out which speech library to use