1
0
Fork 1
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:
scrawl 2013-02-28 12:12:51 +01:00
parent 372308b49a
commit f75681d89b

View file

@ -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"))
{