mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 00:39:49 +00:00
Fix typos in invalid spell effect warnings, clarify them
This commit is contained in:
parent
e8037473ca
commit
dec64a7fba
@ -211,7 +211,7 @@ void ESMStore::validate()
|
|||||||
const ESM::MagicEffect* mgef = mMagicEffects.search(iter->mEffectID);
|
const ESM::MagicEffect* mgef = mMagicEffects.search(iter->mEffectID);
|
||||||
if (!mgef)
|
if (!mgef)
|
||||||
{
|
{
|
||||||
Log(Debug::Verbose) << "Spell '" << spell.mId << "' has an an invalid effect (index " << iter->mEffectID << ") present, dropping it.";
|
Log(Debug::Verbose) << "Spell '" << spell.mId << "' has an invalid effect (index " << iter->mEffectID << ") present. Dropping the effect.";
|
||||||
iter = spell.mEffects.mList.erase(iter);
|
iter = spell.mEffects.mList.erase(iter);
|
||||||
changed = true;
|
changed = true;
|
||||||
continue;
|
continue;
|
||||||
@ -223,7 +223,7 @@ void ESMStore::validate()
|
|||||||
{
|
{
|
||||||
iter->mAttribute = -1;
|
iter->mAttribute = -1;
|
||||||
Log(Debug::Verbose) << ESM::MagicEffect::effectIdToString(iter->mEffectID) <<
|
Log(Debug::Verbose) << ESM::MagicEffect::effectIdToString(iter->mEffectID) <<
|
||||||
" effect of spell '" << spell.mId << "' has an attribute argument present, dropping it.";
|
" effect of spell '" << spell.mId << "' has an attribute argument present. Dropping the argument.";
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -233,7 +233,7 @@ void ESMStore::validate()
|
|||||||
{
|
{
|
||||||
iter->mSkill = -1;
|
iter->mSkill = -1;
|
||||||
Log(Debug::Verbose) << ESM::MagicEffect::effectIdToString(iter->mEffectID) <<
|
Log(Debug::Verbose) << ESM::MagicEffect::effectIdToString(iter->mEffectID) <<
|
||||||
" effect of spell '" << spell.mId << "' has a skill argument present, dropping it.";
|
" effect of spell '" << spell.mId << "' has a skill argument present. Dropping the argument.";
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -242,7 +242,7 @@ void ESMStore::validate()
|
|||||||
iter->mSkill = -1;
|
iter->mSkill = -1;
|
||||||
iter->mAttribute = -1;
|
iter->mAttribute = -1;
|
||||||
Log(Debug::Verbose) << ESM::MagicEffect::effectIdToString(iter->mEffectID) <<
|
Log(Debug::Verbose) << ESM::MagicEffect::effectIdToString(iter->mEffectID) <<
|
||||||
" effect of spell '" << spell.mId << "' has argument(s) present, dropping them.";
|
" effect of spell '" << spell.mId << "' has argument(s) present. Dropping the argument(s).";
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user