forked from teamnwah/openmw-tes3coop
Added proper id check.
This commit is contained in:
parent
89d8ee62fa
commit
c1f4a9cb0e
1 changed files with 5 additions and 0 deletions
|
@ -1072,6 +1072,11 @@ template<typename LIST> void CSMTools::ReferenceableCheckStage::listCheck(
|
|||
{
|
||||
for (unsigned i = 0; i < somelist.mList.size(); ++i)
|
||||
{
|
||||
if (mReferencables.searchId(somelist.mList[i].mId).first == -1)
|
||||
{
|
||||
messages.push_back(someid + "|" + somelist.mId + " contains item without referencable");
|
||||
}
|
||||
|
||||
if (somelist.mList[i].mLevel < 1)
|
||||
{
|
||||
messages.push_back(someid + "|" + somelist.mId + " contains item with non-positive level");
|
||||
|
|
Loading…
Reference in a new issue