mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 21:40:03 +00:00
changed ID check in leveled list to name.
This commit is contained in:
parent
e860717105
commit
220d92f865
@ -1072,9 +1072,9 @@ template<typename LIST> void CSMTools::ReferenceableCheckStage::listCheck(
|
|||||||
{
|
{
|
||||||
for (unsigned i = 0; i < somelist.mList.size(); ++i)
|
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)
|
if (somelist.mList[i].mLevel < 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user