aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorFilippos Karapetis2007-10-28 04:16:48 +0000
committerFilippos Karapetis2007-10-28 04:16:48 +0000
commit7e4ebb9d8ec1336c548e282d4493264b4e2ae77c (patch)
tree68615eaa5509029121275617bb4db7c78f099e97 /engines/saga
parentfc8568509932b5903b5367c066a07603d3d438ea (diff)
downloadscummvm-rg350-7e4ebb9d8ec1336c548e282d4493264b4e2ae77c.tar.gz
scummvm-rg350-7e4ebb9d8ec1336c548e282d4493264b4e2ae77c.tar.bz2
scummvm-rg350-7e4ebb9d8ec1336c548e282d4493264b4e2ae77c.zip
Cleanup
svn-id: r29275
Diffstat (limited to 'engines/saga')
-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