mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:49:56 +00:00
Remove outdated field - remnant from earlier implementation
This commit is contained in:
parent
0c7ddd3938
commit
016a1d45df
3 changed files with 0 additions and 16 deletions
|
@ -986,20 +986,6 @@ int CSMWorld::Data::startLoading (const boost::filesystem::path& path, bool base
|
||||||
mMetaData.setRecord (0, Record<MetaData> (RecordBase::State_ModifiedOnly, nullptr, &metaData));
|
mMetaData.setRecord (0, Record<MetaData> (RecordBase::State_ModifiedOnly, nullptr, &metaData));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix uninitialized master data index
|
|
||||||
for (std::vector<ESM::Header::MasterData>::const_iterator masterData = mReader->getGameFiles().begin();
|
|
||||||
masterData != mReader->getGameFiles().end(); ++masterData)
|
|
||||||
{
|
|
||||||
std::map<std::string, int>::iterator nameResult = mContentFileNames.find(masterData->name);
|
|
||||||
if (nameResult != mContentFileNames.end())
|
|
||||||
{
|
|
||||||
ESM::Header::MasterData& hackedMasterData = const_cast<ESM::Header::MasterData&>(*masterData);
|
|
||||||
|
|
||||||
|
|
||||||
hackedMasterData.index = nameResult->second;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return mReader->getRecordCount();
|
return mReader->getRecordCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,6 @@ void ESM::Header::load (ESMReader &esm)
|
||||||
MasterData m;
|
MasterData m;
|
||||||
m.name = esm.getHString();
|
m.name = esm.getHString();
|
||||||
m.size = esm.getHNLong ("DATA");
|
m.size = esm.getHNLong ("DATA");
|
||||||
m.index = -1;
|
|
||||||
mMaster.push_back (m);
|
mMaster.push_back (m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,6 @@ namespace ESM
|
||||||
{
|
{
|
||||||
std::string name;
|
std::string name;
|
||||||
uint64_t size;
|
uint64_t size;
|
||||||
int index; // Position of the parent file in the global list of loaded files
|
|
||||||
};
|
};
|
||||||
|
|
||||||
GMDT mGameData; // Used in .ess savegames only
|
GMDT mGameData; // Used in .ess savegames only
|
||||||
|
|
Loading…
Reference in a new issue