aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-24 23:05:01 +0000
committerJohannes Schickel2008-05-24 23:05:01 +0000
commit64910f8c5fb3a9e39e356fc2856d311d8ad77bd6 (patch)
treea5995aa6f6533d0a299b68c5731bd3359b30b06e /engines/kyra/sound.cpp
parentaf7bc93c461bd5b7dbd4eeed01b87ad8dbc4e1a1 (diff)
downloadscummvm-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.cpp2
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);