1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:23:53 +00:00

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

This commit is contained in:
Alexei Kotov 2024-03-22 04:25:32 +03:00
parent 82bc6674dc
commit 79039f88df

View file

@ -58,7 +58,7 @@ void CSMTools::MagicEffectCheckStage::perform(int stage, CSMDoc::Messages& messa
return; return;
ESM::MagicEffect effect = record.get(); 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()) if (effect.mDescription.empty())
{ {