diff options
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r-- | engines/kyra/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp index 137956196f..f8e2e1f1e0 100644 --- a/engines/kyra/sound.cpp +++ b/engines/kyra/sound.cpp @@ -95,7 +95,7 @@ int32 Sound::voicePlay(const char *file, bool isSfx) { uint32 fileSize = 0; byte *fileData = _vm->resource()->fileData(filenamebuffer, &fileSize); if (!fileData) - return false; + return 0; Common::MemoryReadStream vocStream(fileData, fileSize); audioStream = Audio::makeVOCStream(vocStream); |