ESSImport: fix a subrecord ordering issue

openmw-35
scrawl 10 years ago
parent 1e92cab3e7
commit 5ce8a931a5

@ -19,6 +19,7 @@ namespace ESSImport
mIndexedRefId = esm.getHNString("NAME");
ActorData::load(esm);
if (esm.isNextSub("LVCR"))
{
// occurs on leveled creature spawner references
@ -27,7 +28,6 @@ namespace ESSImport
esm.getHT(lvcr);
//std::cout << "LVCR: " << (int)lvcr << std::endl;
}
ActorData::load(esm);
mEnabled = true;
esm.getHNOT(mEnabled, "ZNAM");

Loading…
Cancel
Save