Remove redundant quotes

depth-refraction
Andrei Kortunov 2 years ago
parent b0a129d6e4
commit 8c6616214b

@ -61,8 +61,8 @@ namespace MWMechanics
// Vanilla doesn't fail on nonexistent items in levelled lists // Vanilla doesn't fail on nonexistent items in levelled lists
if (!MWBase::Environment::get().getWorld()->getStore().find(item)) if (!MWBase::Environment::get().getWorld()->getStore().find(item))
{ {
Log(Debug::Warning) << "Warning: ignoring nonexistent item '" << item << "' in levelled list '" Log(Debug::Warning) << "Warning: ignoring nonexistent item " << item << " in levelled list "
<< levItem->mId << "'"; << levItem->mId;
return ESM::RefId::sEmpty; return ESM::RefId::sEmpty;
} }

@ -307,7 +307,7 @@ namespace MWMechanics
if (spell) if (spell)
addSpell(spell); addSpell(spell);
else else
Log(Debug::Warning) << "Warning: ignoring nonexistent spell '" << id << "'"; Log(Debug::Warning) << "Warning: ignoring nonexistent spell " << id;
} }
} }

@ -372,7 +372,7 @@ namespace MWWorld
} }
else else
{ {
Log(Debug::Warning) << "Warning: could not resolve cell reference '" << ref.mRefID << "'" Log(Debug::Warning) << "Warning: could not resolve cell reference " << ref.mRefID
<< " (dropping reference)"; << " (dropping reference)";
} }
} }
@ -395,8 +395,7 @@ namespace MWWorld
} }
else else
{ {
Log(Debug::Warning) << "Warning: could not resolve cell reference '" << ref.mId << "'" Log(Debug::Warning) << "Warning: could not resolve cell reference " << ref.mId << " (dropping reference)";
<< " (dropping reference)";
} }
} }

@ -15,8 +15,7 @@ namespace ESM
mDoorState = 0; mDoorState = 0;
esm.getHNOT(mDoorState, "ANIM"); esm.getHNOT(mDoorState, "ANIM");
if (mDoorState < 0 || mDoorState > 2) if (mDoorState < 0 || mDoorState > 2)
Log(Debug::Warning) << "Dropping invalid door state (" << mDoorState << ") for door \"" << mRef.mRefID Log(Debug::Warning) << "Dropping invalid door state (" << mDoorState << ") for door " << mRef.mRefID;
<< "\"";
} }
void DoorState::save(ESMWriter& esm, bool inInventory) const void DoorState::save(ESMWriter& esm, bool inInventory) const
@ -25,8 +24,7 @@ namespace ESM
if (mDoorState < 0 || mDoorState > 2) if (mDoorState < 0 || mDoorState > 2)
{ {
Log(Debug::Warning) << "Dropping invalid door state (" << mDoorState << ") for door \"" << mRef.mRefID Log(Debug::Warning) << "Dropping invalid door state (" << mDoorState << ") for door " << mRef.mRefID;
<< "\"";
return; return;
} }

Loading…
Cancel
Save