Skip to content

Commit

Permalink
XEEN: Fix options menu to show correct buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jan 1, 2015
1 parent def7e9f commit 64ccc21
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions engines/xeen/resources.cpp
Expand Up @@ -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"));
}

/*------------------------------------------------------------------------*/
Expand Down

0 comments on commit 64ccc21

Please sign in to comment.