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:
parent
82bc6674dc
commit
79039f88df
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue