1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 01:49:41 +00:00

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

Fixes #1380
This commit is contained in:
scrawl 2014-06-01 23:11:38 +02:00
parent c018319940
commit f6f6b5604a
2 changed files with 3 additions and 1 deletions

View file

@ -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
}

View file

@ -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;
}