diff options
author | Johannes Schickel | 2008-05-24 23:05:01 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-24 23:05:01 +0000 |
commit | 64910f8c5fb3a9e39e356fc2856d311d8ad77bd6 (patch) | |
tree | a5995aa6f6533d0a299b68c5731bd3359b30b06e /engines/kyra/sound.cpp | |
parent | af7bc93c461bd5b7dbd4eeed01b87ad8dbc4e1a1 (diff) | |
download | scummvm-rg350-64910f8c5fb3a9e39e356fc2856d311d8ad77bd6.tar.gz scummvm-rg350-64910f8c5fb3a9e39e356fc2856d311d8ad77bd6.tar.bz2 scummvm-rg350-64910f8c5fb3a9e39e356fc2856d311d8ad77bd6.zip |
Little cleanup.
svn-id: r32262
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); |