Re-check unknown record id after loading.

deque
cc9cii 10 years ago
parent 810ba61909
commit a2d043f43a

@ -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…
Cancel
Save