mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-19 05:46:39 +00:00
factionId instead of faction->mName
This commit is contained in:
parent
11947286d9
commit
bb1214ed69
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ namespace MWScript
|
||||||
if (rank < 0 || rank > 9)
|
if (rank < 0 || rank > 9)
|
||||||
{
|
{
|
||||||
Log(Debug::Warning) << "getNPCRank(): NPC " << ptr.mRef->mRef.getRefId() << " has invalid rank " << rank
|
Log(Debug::Warning) << "getNPCRank(): NPC " << ptr.mRef->mRef.getRefId() << " has invalid rank " << rank
|
||||||
<< " in faction " << faction->mName;
|
<< " in faction " << factionId;
|
||||||
return "%";
|
return "%";
|
||||||
}
|
}
|
||||||
return faction->mRanks[rank];
|
return faction->mRanks[rank];
|
||||||
|
|
Loading…
Reference in a new issue