mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-23 04:26:31 -04:00
Fix(client): Included bad code
This commit is contained in:
parent
592348135e
commit
4d179157ba
@ -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…
x
Reference in New Issue
Block a user