mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 18:09:39 +00:00
Merge pull request #3020 from unelsson/strippluginindex_cs
Strip the plugin index when looking for deleted refs.
This commit is contained in:
commit
259f7fcf12
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ void CSMWorld::RefCollection::load (ESM::ESMReader& reader, int cellIndex, bool
|
||||||
|
|
||||||
// ignore content file number
|
// ignore content file number
|
||||||
std::map<ESM::RefNum, std::string>::iterator iter = cache.begin();
|
std::map<ESM::RefNum, std::string>::iterator iter = cache.begin();
|
||||||
|
ref.mRefNum.mIndex = ref.mRefNum.mIndex & 0x00ffffff;
|
||||||
for (; iter != cache.end(); ++iter)
|
for (; iter != cache.end(); ++iter)
|
||||||
{
|
{
|
||||||
if (ref.mRefNum.mIndex == iter->first.mIndex)
|
if (ref.mRefNum.mIndex == iter->first.mIndex)
|
||||||
|
|
Loading…
Reference in a new issue