diff options
author | Paul Gilbert | 2014-04-18 09:01:04 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-18 09:01:04 -0400 |
commit | 3813eddf023e25692d92402ddcbdbe491359c698 (patch) | |
tree | 1556b139f8435e0aae55f89805806139775ef87e /engines | |
parent | 15c64dd9725a9799878d80e978120d06b7b7074a (diff) | |
download | scummvm-rg350-3813eddf023e25692d92402ddcbdbe491359c698.tar.gz scummvm-rg350-3813eddf023e25692d92402ddcbdbe491359c698.tar.bz2 scummvm-rg350-3813eddf023e25692d92402ddcbdbe491359c698.zip |
MADS: Skip the unused SECTION0.HAG for now
Diffstat (limited to 'engines')
-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)) |