1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:45:34 +00:00

Skip rest of LEVI record if it has no items (Bug #2348)

This commit is contained in:
scrawl 2015-02-05 04:28:05 +01:00
parent 9ce3e4b4e1
commit d18d2a1882

View file

@ -19,7 +19,10 @@ void LevelledListBase::load(ESMReader &esm)
mList.resize(len);
}
else
{
esm.skipRecord();
return;
}
// TODO: Merge with an existing lists here. This can be done
// simply by adding the lists together, making sure that they are