diff options
author | Filippos Karapetis | 2007-10-28 04:16:48 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-10-28 04:16:48 +0000 |
commit | 7e4ebb9d8ec1336c548e282d4493264b4e2ae77c (patch) | |
tree | 68615eaa5509029121275617bb4db7c78f099e97 | |
parent | fc8568509932b5903b5367c066a07603d3d438ea (diff) | |
download | scummvm-rg350-7e4ebb9d8ec1336c548e282d4493264b4e2ae77c.tar.gz scummvm-rg350-7e4ebb9d8ec1336c548e282d4493264b4e2ae77c.tar.bz2 scummvm-rg350-7e4ebb9d8ec1336c548e282d4493264b4e2ae77c.zip |
Cleanup
svn-id: r29275
-rw-r--r-- | engines/saga/rscfile.cpp | 10 |
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 |