diff options
author | Paul Gilbert | 2015-01-01 09:50:14 -1000 |
---|---|---|
committer | Paul Gilbert | 2015-01-01 09:50:14 -1000 |
commit | 64ccc21cefefa585fe9227f453b5e370e6a62b8b (patch) | |
tree | 053503a9f3ff19dcfd34d984b6c84894b3c03a7c /engines/xeen | |
parent | def7e9f098436f64887bdc14944c6235e0a12cc1 (diff) | |
download | scummvm-rg350-64ccc21cefefa585fe9227f453b5e370e6a62b8b.tar.gz scummvm-rg350-64ccc21cefefa585fe9227f453b5e370e6a62b8b.tar.bz2 scummvm-rg350-64ccc21cefefa585fe9227f453b5e370e6a62b8b.zip |
XEEN: Fix options menu to show correct buttons
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/resources.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/engines/xeen/resources.cpp b/engines/xeen/resources.cpp index 4da84c1d38..ba2889fc9d 100644 --- a/engines/xeen/resources.cpp +++ b/engines/xeen/resources.cpp @@ -195,13 +195,10 @@ bool CCArchive::getHeaderEntry(const Common::String &resourceName, CCEntry &ccEn void Resources::init(XeenEngine *vm) { Common::File f; - const char *ARCHIVES[3] = { "xeen", "dark", "intro" }; - for (int i = 0; i < 3; ++i) { - Common::String filename = Common::String::format("%s.cc", ARCHIVES[i]); - if (f.exists(filename)) { - SearchMan.add(ARCHIVES[i], new CCArchive(filename)); - } - } + if (vm->getGameID() != GType_Clouds) + SearchMan.add("dark", new CCArchive("dark.cc")); + SearchMan.add("xeen", new CCArchive("xeen.cc")); + SearchMan.add("intro", new CCArchive("intro.cc")); } /*------------------------------------------------------------------------*/ |