diff options
-rw-r--r-- | engines/mads/resources.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mads/resources.cpp b/engines/mads/resources.cpp index 2742b5b435..aef22d3734 100644 --- a/engines/mads/resources.cpp +++ b/engines/mads/resources.cpp @@ -150,6 +150,9 @@ void HagArchive::loadIndex() { Common::File hagFile; for (int sectionIndex = -1; sectionIndex < 10; ++sectionIndex) { + if (sectionIndex == 0) + continue; + Common::String filename = (sectionIndex == -1) ? "GLOBAL.HAG" : Common::String::format("SECTION%d.HAG", sectionIndex); if (!hagFile.open(filename)) |