mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
Corrected stupid typo.
This commit is contained in:
parent
79bc149c73
commit
cb723710fe
@ -945,7 +945,7 @@ void CSMTools::ReferenceableCheckStage::npcCheck(int stage, const CSMWorld::RefI
|
||||
}
|
||||
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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user