1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 11:15:36 +00:00

Removing name check from listCheck. Id can't be empty to be sure.

This commit is contained in:
Marek Kochanowicz 2014-01-05 12:12:36 +01:00
parent 220d92f865
commit 89d8ee62fa

View file

@ -1072,11 +1072,6 @@ template<typename LIST> void CSMTools::ReferenceableCheckStage::listCheck(
{
for (unsigned i = 0; i < somelist.mList.size(); ++i)
{
if (somelist.mList[i].mName.empty())
{
messages.push_back(someid + "|" + somelist.mId + " contains item with empty name");
}
if (somelist.mList[i].mLevel < 1)
{
messages.push_back(someid + "|" + somelist.mId + " contains item with non-positive level");