From 7e4ebb9d8ec1336c548e282d4493264b4e2ae77c Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 28 Oct 2007 04:16:48 +0000 Subject: Cleanup svn-id: r29275 --- engines/saga/rscfile.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'engines/saga') 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 -- cgit v1.2.3