aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/rscfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/rscfile.cpp')
-rw-r--r--engines/saga/rscfile.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp
index ad3b1ce0fe..d65f74419b 100644
--- a/engines/saga/rscfile.cpp
+++ b/engines/saga/rscfile.cpp
@@ -443,9 +443,6 @@ bool Resource::createContexts() {
#ifndef __amigaos4__
} else if (Common::File::exists("inherit the earth voices") ||
Common::File::exists("inherit the earth voices.cmp")) {
-
- _contextsCount++;
- voicesFileIndex = _contextsCount - 1;
if (Common::File::exists("inherit the earth voices")) {
sprintf(voicesFileName, "inherit the earth voices");
} else {
@@ -455,9 +452,6 @@ bool Resource::createContexts() {
#else
} else if (Common::File::exists("\"inherit the earth voices\"") ||
Common::File::exists("\"inherit the earth voices.cmp\"")) {
-
- _contextsCount++;
- voicesFileIndex = _contextsCount - 1;
if (Common::File::exists("\"inherit the earth voices\"")) {
sprintf(voicesFileName, "\"inherit the earth voices\"");
} else {
@@ -465,6 +459,10 @@ bool Resource::createContexts() {
_vm->_gf_compressed_sounds = true;
}
#endif
+
+ _contextsCount++;
+ voicesFileIndex = _contextsCount - 1;
+
// The resources in the Wyrmkeep combined Windows/Mac/Linux CD version are little endian, but
// the voice file is big endian. If we got such a version with mixed files, mark this voice file
// as big endian