mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Merge remote-tracking branch 'cc9cii/Bug-No-1750'
This commit is contained in:
commit
ce52735df6
@ -71,6 +71,14 @@ namespace CSMWorld
|
||||
|
||||
record.load (reader);
|
||||
|
||||
if (index==-1)
|
||||
{
|
||||
std::string newId = IdAccessorT().getId(record);
|
||||
int newIndex = this->searchId(newId);
|
||||
if (newIndex != -1 && id != newId)
|
||||
index = newIndex;
|
||||
}
|
||||
|
||||
load (record, base, index);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user