mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
removed redundant copy of Header::Data
This commit is contained in:
parent
9e68a420ae
commit
731ac6a160
@ -109,7 +109,6 @@ struct ESM_Context
|
||||
uint32_t leftRec, leftSub;
|
||||
size_t leftFile;
|
||||
NAME recName, subName;
|
||||
Header::Data header;
|
||||
// When working with multiple esX files, we will generate lists of all files that
|
||||
// actually contribute to a specific cell. Therefore, we need to store the index
|
||||
// of the file belonging to this contest. See CellStore::(list/load)refs for details.
|
||||
|
@ -64,7 +64,6 @@ void ESMReader::open(Ogre::DataStreamPtr _esm, const std::string &name)
|
||||
|
||||
// Get the header
|
||||
getHNT (mHeader.mData, "HEDR", 300);
|
||||
mCtx.header = mHeader.mData;
|
||||
|
||||
// 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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user