forked from teamnwah/openmw-tes3coop
Cloned references should be considered "Base" rather than "Modified". Should fix bug #2429.
This commit is contained in:
parent
907ac5ef7f
commit
a54ab153b0
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ void CSMWorld::RefIdCollection::cloneRecord(const std::string& origin,
|
|||
const CSMWorld::UniversalId::Type type)
|
||||
{
|
||||
std::auto_ptr<RecordBase> newRecord(mData.getRecord(mData.searchId(origin)).clone());
|
||||
newRecord->mState = RecordBase::State_ModifiedOnly;
|
||||
newRecord->mState = RecordBase::State_BaseOnly;
|
||||
mAdapters.find(type)->second->setId(*newRecord, destination);
|
||||
mData.insertRecord(*newRecord, type, destination);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue