1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Localised version of morrowind will no longer spam false positives. Don't check diff, please.

This commit is contained in:
Marek Kochanowicz 2014-01-15 10:30:43 +01:00
parent c981a2a6f8
commit 89d4a90c06

View File

@ -769,7 +769,7 @@ void CSMTools::ReferenceableCheckStage::npcCheck(
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.
if (Misc::StringUtils::ciEqual(dynamic_cast<const ESM::Race&>(mRaces.getRecord(i).get()).mId, npc.mRace))
{
noSuchRace = false;
break;