mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 18:36:41 +00:00
added comment
This commit is contained in:
parent
13637e7166
commit
842e26b8e5
1 changed files with 2 additions and 2 deletions
|
@ -972,7 +972,7 @@ void CSMTools::ReferenceableCheckStage::npcCheck(int stage, const CSMWorld::RefI
|
||||||
|
|
||||||
for (int i = 0; i < mRaces.getSize(); ++i)
|
for (int i = 0; i < mRaces.getSize(); ++i)
|
||||||
{
|
{
|
||||||
if (dynamic_cast<const ESM::Race&>(mRaces.getRecord(i).get()).mName == NPC.mRace)
|
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;
|
break;
|
||||||
|
@ -990,7 +990,7 @@ void CSMTools::ReferenceableCheckStage::npcCheck(int stage, const CSMWorld::RefI
|
||||||
messages.push_back(id.toString() + "|" + NPC.mId + " has negative disposition");
|
messages.push_back(id.toString() + "|" + NPC.mId + " has negative disposition");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Reputation < 0)
|
if (Reputation < 0) //It seems that no character in Morrowind.esm have negative reputation. I'm assuming that negative reputation is invalid
|
||||||
{
|
{
|
||||||
messages.push_back(id.toString() + "|" + NPC.mId + " has negative reputation");
|
messages.push_back(id.toString() + "|" + NPC.mId + " has negative reputation");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue