diff options
Diffstat (limited to 'engines/xeen/files.cpp')
-rw-r--r-- | engines/xeen/files.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/xeen/files.cpp b/engines/xeen/files.cpp index 107cde45a1..a0ca2435a1 100644 --- a/engines/xeen/files.cpp +++ b/engines/xeen/files.cpp @@ -160,10 +160,11 @@ bool CCArchive::getHeaderEntry(const Common::String &resourceName, CCEntry &ccEn /** * Instantiates the resource manager */ -void FileManager::init(XeenEngine *vm) { +FileManager::FileManager(XeenEngine *vm) { Common::File f; - if (vm->getGameID() != GType_Clouds) + _isDarkCc = vm->getGameID() != GType_Clouds; + if (_isDarkCc) SearchMan.add("dark", new CCArchive("dark.cc")); SearchMan.add("xeen", new CCArchive("xeen.cc")); SearchMan.add("intro", new CCArchive("intro.cc")); |