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:
parent
9ce3e4b4e1
commit
d18d2a1882
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue