mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-17 23:06:45 +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);
|
mList.resize(len);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
esm.skipRecord();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Merge with an existing lists here. This can be done
|
// TODO: Merge with an existing lists here. This can be done
|
||||||
// simply by adding the lists together, making sure that they are
|
// simply by adding the lists together, making sure that they are
|
||||||
|
|
Loading…
Reference in a new issue