aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2008-12-11 18:09:45 +0000
committerTorbjörn Andersson2008-12-11 18:09:45 +0000
commite26f1391fa6c4245549a890d74bcf1c7fa6b3805 (patch)
tree13a632f37f5d5bd1b6b8afdbcb7778b6f5f9d198
parent2f1babd3703416362e5e8bda9ed03f59019daa8f (diff)
downloadscummvm-rg350-e26f1391fa6c4245549a890d74bcf1c7fa6b3805.tar.gz
scummvm-rg350-e26f1391fa6c4245549a890d74bcf1c7fa6b3805.tar.bz2
scummvm-rg350-e26f1391fa6c4245549a890d74bcf1c7fa6b3805.zip
Fixed detection of voice files.
svn-id: r35305
-rw-r--r--engines/saga/rscfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp
index 41fe510906..2e7eaddf85 100644
--- a/engines/saga/rscfile.cpp
+++ b/engines/saga/rscfile.cpp
@@ -446,7 +446,7 @@ bool Resource::createContexts() {
// Detect and add voice files
fileFound = false;
curSoundfiles = _vm->getGameType() == GType_ITE ? voiceFilesITE : voiceFilesIHNM;
- maxFile = _vm->getGameType() == GType_ITE ? 4 : 2;
+ maxFile = _vm->getGameType() == GType_ITE ? 7 : 4;
for (i = 0; i < maxFile; i++) {
if (Common::File::exists(curSoundfiles[i].fileName)) {