mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 22:45:33 +00:00
corrected one, additional name to follow policy
This commit is contained in:
parent
4338706307
commit
c69814ed14
1 changed files with 3 additions and 3 deletions
|
@ -756,18 +756,18 @@ void CSMTools::ReferenceableCheckStage::npcCheck(
|
|||
}
|
||||
else //checking if there is a such race
|
||||
{
|
||||
bool nosuchrace(true);
|
||||
bool noSuchRace(true);
|
||||
|
||||
for (int i = 0; i < mRaces.getSize(); ++i)
|
||||
{
|
||||
if (dynamic_cast<const ESM::Race&>(mRaces.getRecord(i).get()).mName == npc.mRace) //mId in class, mName for race. Stupid.
|
||||
{
|
||||
nosuchrace = false;
|
||||
noSuchRace = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (nosuchrace)
|
||||
if (noSuchRace)
|
||||
{
|
||||
messages.push_back(id.toString() + "|" + npc.mId + " has invalid race");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue