1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

changed ID check in leveled list to name.

This commit is contained in:
Marek Kochanowicz 2014-01-05 11:30:03 +01:00
parent e860717105
commit 220d92f865

View File

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