Fix loading a savegame when some of its content files were disabled

Fixes #1380
deque
scrawl 11 years ago
parent c018319940
commit f6f6b5604a

@ -314,6 +314,8 @@ bool MWWorld::Cells::readRecord (ESM::ESMReader& reader, int32_t type,
catch (...)
{
// silently drop cells that don't exist anymore
reader.skipRecord();
return true;
/// \todo log
}

@ -100,7 +100,7 @@ namespace MWWorld
if (iter!=mVariables.end())
iter->second.read (reader, ESM::Variant::Format_Global);
else
reader.skipHRecord();
reader.skipRecord();
return true;
}

Loading…
Cancel
Save