From dec64a7fba6b2be4e0cac0d49eaece27b451749b Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov Date: Thu, 17 Oct 2019 23:45:27 +0300 Subject: [PATCH] Fix typos in invalid spell effect warnings, clarify them --- apps/openmw/mwworld/esmstore.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/openmw/mwworld/esmstore.cpp b/apps/openmw/mwworld/esmstore.cpp index 8333531748..0a7a7eddd5 100644 --- a/apps/openmw/mwworld/esmstore.cpp +++ b/apps/openmw/mwworld/esmstore.cpp @@ -211,7 +211,7 @@ void ESMStore::validate() const ESM::MagicEffect* mgef = mMagicEffects.search(iter->mEffectID); 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); changed = true; continue; @@ -223,7 +223,7 @@ void ESMStore::validate() { iter->mAttribute = -1; 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; } } @@ -233,7 +233,7 @@ void ESMStore::validate() { iter->mSkill = -1; 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; } } @@ -242,7 +242,7 @@ void ESMStore::validate() iter->mSkill = -1; iter->mAttribute = -1; 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; }