mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
updateMergedRefs before reading MVRF tags (Fixes #3161)
This commit is contained in:
parent
2eda495f89
commit
69c2c4fcc1
@ -807,6 +807,10 @@ namespace MWWorld
|
||||
}
|
||||
}
|
||||
|
||||
// Do another update here to make sure objects referred to by MVRF tags can be found
|
||||
// This update is only needed for old saves that used the old copy&delete way of moving objects
|
||||
updateMergedRefs();
|
||||
|
||||
while (reader.isNextSub("MVRF"))
|
||||
{
|
||||
reader.cacheSubName();
|
||||
@ -848,8 +852,6 @@ namespace MWWorld
|
||||
|
||||
moveTo(MWWorld::Ptr(movedRef, this), otherCell);
|
||||
}
|
||||
|
||||
updateMergedRefs();
|
||||
}
|
||||
|
||||
bool operator== (const CellStore& left, const CellStore& right)
|
||||
|
Loading…
x
Reference in New Issue
Block a user