forked from mirror/openmw-tes3mp
Corrected stupid typo.
This commit is contained in:
parent
79bc149c73
commit
cb723710fe
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ void CSMTools::ReferenceableCheckStage::npcCheck(int stage, const CSMWorld::RefI
|
||||||
}
|
}
|
||||||
else //checking if there is such class
|
else //checking if there is such class
|
||||||
{
|
{
|
||||||
if (mClasses.searchId(NPC.mClass))
|
if (mClasses.searchId(NPC.mClass) == -1)
|
||||||
{
|
{
|
||||||
messages.push_back(id.toString() + "|" + NPC.mId + " has invalid class");
|
messages.push_back(id.toString() + "|" + NPC.mId + " has invalid class");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue