mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-14 23:05:57 -04:00
Skip rest of LEVI record if it has no items (Bug #2348)
This commit is contained in:
parent
9ce3e4b4e1
commit
d18d2a1882
@ -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…
x
Reference in New Issue
Block a user