mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-03 12:21:34 +00:00
Fix(client): Included bad code
This commit is contained in:
parent
592348135e
commit
4d179157ba
1 changed files with 0 additions and 2 deletions
|
@ -746,8 +746,6 @@ void RecordsDynamicFunctions::SetRecordAutoCalc(int autoCalc) noexcept
|
|||
|
||||
if (writeRecordsType == mwmp::RECORD_TYPE::POTION)
|
||||
tempPotion.data.mData.mAutoCalc = autoCalc;
|
||||
else if (writeRecordsType == mwmp::RECORD_TYPE::ENCHANTMENT)
|
||||
tempEnchantment.data.mData.mAutocalc = autoCalc;
|
||||
else if (writeRecordsType == mwmp::RECORD_TYPE::NPC)
|
||||
{
|
||||
Utils::setFlag(tempNpc.data.mFlags, ESM::NPC::Autocalc, autoCalc);
|
||||
|
|
Loading…
Reference in a new issue