Use the right ID for magic effect verifier messages (#7894)

fix-osga-rotate-wildly
Alexei Kotov 9 months ago
parent 82bc6674dc
commit 79039f88df

@ -58,7 +58,7 @@ void CSMTools::MagicEffectCheckStage::perform(int stage, CSMDoc::Messages& messa
return;
ESM::MagicEffect effect = record.get();
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_MagicEffect, effect.mId);
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_MagicEffect, CSMWorld::getRecordId(effect));
if (effect.mDescription.empty())
{

Loading…
Cancel
Save