mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-11 13:25:53 -04:00
factionId instead of faction->mName
This commit is contained in:
parent
11947286d9
commit
bb1214ed69
@ -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…
x
Reference in New Issue
Block a user