flag reordered records as modified

actorid
Marc Zinnschlag 11 years ago
parent a44fad4c59
commit 2af7f60488

@ -176,7 +176,10 @@ namespace CSMWorld
std::vector<Record<ESXRecordT> > buffer (size);
for (int i=0; i<size; ++i)
{
buffer[newOrder[i]] = mRecords [baseIndex+i];
buffer[newOrder[i]].setModified (buffer[newOrder[i]].get());
}
std::copy (buffer.begin(), buffer.end(), mRecords.begin()+baseIndex);

Loading…
Cancel
Save