mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-15 07:17:46 -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);
|
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…
x
Reference in New Issue
Block a user