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:
parent
01aba70b04
commit
eba16c05d7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue