mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 18:39:55 +00:00
Ignore ESX header version
This commit is contained in:
parent
372308b49a
commit
f75681d89b
1 changed files with 3 additions and 2 deletions
|
@ -77,8 +77,9 @@ void ESMReader::open(Ogre::DataStreamPtr _esm, const std::string &name)
|
|||
// Get the header
|
||||
getHNT(mCtx.header, "HEDR", 300);
|
||||
|
||||
if (mCtx.header.version != VER_12 && mCtx.header.version != VER_13)
|
||||
fail("Unsupported file format version");
|
||||
// Some mods abuse the header.version field for the version of the mod instead of the version of the file format, so we can only ignore it.
|
||||
//if (mCtx.header.version != VER_12 && mCtx.header.version != VER_13)
|
||||
//fail("Unsupported file format version");
|
||||
|
||||
while (isNextSub("MAST"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue