|
|
@ -79,7 +79,7 @@ void CellRef::save(ESMWriter &esm)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Cell::load(ESMReader &esm, MWWorld::ESMStore &store)
|
|
|
|
void Cell::load(ESMReader &esm, bool saveContext)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Ignore this for now, it might mean we should delete the entire
|
|
|
|
// Ignore this for now, it might mean we should delete the entire
|
|
|
|
// cell?
|
|
|
|
// cell?
|
|
|
@ -127,6 +127,16 @@ void Cell::load(ESMReader &esm, MWWorld::ESMStore &store)
|
|
|
|
esm.getHT(mNAM0);
|
|
|
|
esm.getHT(mNAM0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (saveContext) {
|
|
|
|
|
|
|
|
mContextList.push_back(esm.getContext());
|
|
|
|
|
|
|
|
esm.skipRecord();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Cell::load(ESMReader &esm, MWWorld::ESMStore &store)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this->load(esm, false);
|
|
|
|
|
|
|
|
|
|
|
|
// preload moved references
|
|
|
|
// preload moved references
|
|
|
|
while (esm.isNextSub("MVRF")) {
|
|
|
|
while (esm.isNextSub("MVRF")) {
|
|
|
|
CellRef ref;
|
|
|
|
CellRef ref;
|
|
|
|