From 3813eddf023e25692d92402ddcbdbe491359c698 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 18 Apr 2014 09:01:04 -0400 Subject: MADS: Skip the unused SECTION0.HAG for now --- engines/mads/resources.cpp | 3 +++ 1 file changed, 3 insertions(+) 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)) -- cgit v1.2.3