XEEN: Fix crash using mirrors in standalone Clouds of Xeen

Thanks to HenneNWH for identifying the problem
This commit is contained in:
Paul Gilbert 2018-07-03 20:26:50 -07:00
parent ad15747c6d
commit 6c8ef2309d
2 changed files with 2 additions and 0 deletions

View File

@ -69,12 +69,14 @@ void writeCloudsData(CCArchive &cc, const char *darkName) {
Common::MemFile animInfo = darkCc.getMember("clouds.dat");
Common::MemFile monsters = darkCc.getMember("xeen.mon");
Common::MemFile wallPics = darkCc.getMember("xeenpic.dat");
Common::MemFile mirror = darkCc.getMember("xeenmirr.txt");
cc.add("mae.cld", mae);
cc.add("spells.cld", spells);
cc.add("animinfo.cld", animInfo);
cc.add("monsters.cld", monsters);
cc.add("wallpics.cld", wallPics);
cc.add("xeenmirr.txt", mirror);
Common::MemFile mapNames;
for (int idx = 0; idx < 86; ++idx)

Binary file not shown.