mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-06 14:21:35 +00:00
[Client] Remove useless lines in RecordHelper
This commit is contained in:
parent
0df32accca
commit
0fa116b47d
1 changed files with 0 additions and 4 deletions
|
@ -287,7 +287,6 @@ void RecordHelper::overrideEnchantmentRecord(const mwmp::EnchantmentRecord& reco
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isExistingId = doesEnchantmentRecordExist(recordData.mId);
|
|
||||||
MWBase::World *world = MWBase::Environment::get().getWorld();
|
MWBase::World *world = MWBase::Environment::get().getWorld();
|
||||||
|
|
||||||
if (record.baseId.empty())
|
if (record.baseId.empty())
|
||||||
|
@ -419,9 +418,6 @@ void RecordHelper::overrideSpellRecord(const mwmp::SpellRecord& record)
|
||||||
|
|
||||||
world->getModifiableStore().overrideRecord(finalData);
|
world->getModifiableStore().overrideRecord(finalData);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isExistingId)
|
|
||||||
world->updatePtrsWithRefId(recordData.mId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecordHelper::overrideArmorRecord(const mwmp::ArmorRecord& record)
|
void RecordHelper::overrideArmorRecord(const mwmp::ArmorRecord& record)
|
||||||
|
|
Loading…
Reference in a new issue