mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-17 20:46:34 +00:00
CLEANUP: Remove dead code in cloneRecordImp
This commit is contained in:
parent
4f95ca4196
commit
42109fc811
1 changed files with 0 additions and 9 deletions
|
@ -273,15 +273,6 @@ namespace CSMWorld
|
|||
copy->mState = RecordBase::State_ModifiedOnly;
|
||||
setRecordId(destination, copy->get());
|
||||
|
||||
if constexpr (std::is_same_v<ESXRecordT, CSMWorld::CellRef>)
|
||||
{
|
||||
if (type == UniversalId::Type_Reference)
|
||||
{
|
||||
CSMWorld::CellRef* ptr = (CSMWorld::CellRef*)©->mModified;
|
||||
ptr->mRefNum.mIndex = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if constexpr (std::is_same_v<ESXRecordT, ESM::Dialogue>)
|
||||
{
|
||||
copy->mModified.mStringId = copy->mModified.mId.getRefIdString();
|
||||
|
|
Loading…
Reference in a new issue