diff options
author | Strangerke | 2012-11-17 09:59:50 +0100 |
---|---|---|
committer | Strangerke | 2012-11-17 09:59:50 +0100 |
commit | 8b0ae07969dbdbeb9ad955ab1f23c570ca300167 (patch) | |
tree | aee8e0f4ee2b5727a97ea61204afbcb95f4bddfb /engines/hopkins/files.cpp | |
parent | f2002f729a35df903c4e06373fc966f1cc5b0719 (diff) | |
download | scummvm-rg350-8b0ae07969dbdbeb9ad955ab1f23c570ca300167.tar.gz scummvm-rg350-8b0ae07969dbdbeb9ad955ab1f23c570ca300167.tar.bz2 scummvm-rg350-8b0ae07969dbdbeb9ad955ab1f23c570ca300167.zip |
HOPKINS: Use common::string instead of hardcoded values in CONSTRUIT_FICHIER
Diffstat (limited to 'engines/hopkins/files.cpp')
-rw-r--r-- | engines/hopkins/files.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp index daa618d7c2..bc523af254 100644 --- a/engines/hopkins/files.cpp +++ b/engines/hopkins/files.cpp @@ -143,19 +143,19 @@ void FileManager::CONSTRUIT_FICHIER(const Common::String &folder, const Common:: // check for animations that don't exist in the ANM folder, but rather in special // sub-folders depending on the physical screen resolution being used. - if (folder == "ANM") { + if (folder == _vm->_globals.HOPANM) { switch (_vm->_globals.SVGA) { case 1: if (TEST_REP(folderToUse, file)) - folderToUse = "TSVGA"; + folderToUse = _vm->_globals.HOPTSVGA; break; case 2: if (TEST_REP(folderToUse, file)) - folderToUse = "SVGA"; + folderToUse = _vm->_globals.HOPSVGA; break; case 3: if (TEST_REP(folderToUse, file)) - folderToUse = "VGA"; + folderToUse = _vm->_globals.HOPVGA; break; default: break; |