mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Ignore ESX header version
This commit is contained in:
parent
372308b49a
commit
f75681d89b
@ -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…
x
Reference in New Issue
Block a user