mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 16:09:43 +00:00
Merge branch 'quotes' into 'master'
Remove redundant quotes See merge request OpenMW/openmw!3091
This commit is contained in:
commit
d8463a34d3
2 changed files with 10 additions and 10 deletions
|
@ -995,7 +995,7 @@ namespace MWWorld
|
|||
int type = mStore.find(cref.mRefID);
|
||||
if (type == 0)
|
||||
{
|
||||
Log(Debug::Warning) << "Dropping reference to '" << cref.mRefID << "' (object no longer exists)";
|
||||
Log(Debug::Warning) << "Dropping reference to " << cref.mRefID << " (object no longer exists)";
|
||||
// Skip until the next OBJE or MVRF
|
||||
while (reader.hasMoreSubs() && !reader.peekNextSub("OBJE") && !reader.peekNextSub("MVRF"))
|
||||
{
|
||||
|
@ -1241,7 +1241,7 @@ namespace MWWorld
|
|||
const ESM::Enchantment* enchantment = mStore.get<ESM::Enchantment>().search(enchantmentId);
|
||||
if (!enchantment)
|
||||
{
|
||||
Log(Debug::Warning) << "Warning: Can't find enchantment '" << enchantmentId << "' on item "
|
||||
Log(Debug::Warning) << "Warning: Can't find enchantment " << enchantmentId << " on item "
|
||||
<< ptr.getCellRef().getRefId();
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -106,8 +106,8 @@ namespace
|
|||
const ESM::Faction* fact = factions.search(npcFaction);
|
||||
if (!fact)
|
||||
{
|
||||
Log(Debug::Verbose) << "NPC '" << npc.mId << "' (" << npc.mName << ") has nonexistent faction '"
|
||||
<< npc.mFaction << "', ignoring it.";
|
||||
Log(Debug::Verbose) << "NPC " << npc.mId << " (" << npc.mName << ") has nonexistent faction "
|
||||
<< npc.mFaction << ", ignoring it.";
|
||||
npc.mFaction = ESM::RefId();
|
||||
npc.mNpdt.mRank = 0;
|
||||
changed = true;
|
||||
|
@ -118,8 +118,8 @@ namespace
|
|||
const ESM::Class* cls = classes.search(npcClass);
|
||||
if (!cls)
|
||||
{
|
||||
Log(Debug::Verbose) << "NPC '" << npc.mId << "' (" << npc.mName << ") has nonexistent class '"
|
||||
<< npc.mClass << "', using '" << defaultCls << "' class as replacement.";
|
||||
Log(Debug::Verbose) << "NPC " << npc.mId << " (" << npc.mName << ") has nonexistent class "
|
||||
<< npc.mClass << ", using " << defaultCls << " class as replacement.";
|
||||
npc.mClass = defaultCls;
|
||||
changed = true;
|
||||
}
|
||||
|
@ -141,8 +141,8 @@ namespace
|
|||
if (!item.mScript.empty() && !scripts.search(item.mScript))
|
||||
{
|
||||
item.mScript = ESM::RefId();
|
||||
Log(Debug::Verbose) << "Item '" << id << "' (" << item.mName << ") has nonexistent script '"
|
||||
<< item.mScript << "', ignoring it.";
|
||||
Log(Debug::Verbose) << "Item " << id << " (" << item.mName << ") has nonexistent script "
|
||||
<< item.mScript << ", ignoring it.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -623,8 +623,8 @@ namespace MWWorld
|
|||
auto first = std::remove_if(entry.second.mList.begin(), entry.second.mList.end(), [&](const auto& item) {
|
||||
if (!find(item.mId))
|
||||
{
|
||||
Log(Debug::Verbose) << "Leveled list '" << entry.first << "' has nonexistent object '" << item.mId
|
||||
<< "', ignoring it.";
|
||||
Log(Debug::Verbose) << "Leveled list " << entry.first << " has nonexistent object " << item.mId
|
||||
<< ", ignoring it.";
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue