Ignore Creature INDX subrecords

Found in some .ess files, not sure what they mean.
openmw-38
scrawl 9 years ago
parent 020b3add94
commit 0bdfd1b0d7

@ -1,5 +1,7 @@
#include "loadcrea.hpp"
#include <iostream>
#include "esmreader.hpp"
#include "esmwriter.hpp"
#include "defs.hpp"
@ -83,6 +85,12 @@ namespace ESM {
esm.skipHSub();
isDeleted = true;
break;
case ESM::FourCC<'I','N','D','X'>::value:
// seems to occur only in .ESS files, unsure of purpose
int index;
esm.getHT(index);
std::cerr << "Creature::load: Unhandled INDX " << index << std::endl;
break;
default:
esm.fail("Unknown subrecord");
break;

Loading…
Cancel
Save