mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-08 20:05:19 -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)
|
||||
{
|
||||
Log(Debug::Warning) << "getNPCRank(): NPC " << ptr.mRef->mRef.getRefId() << " has invalid rank " << rank
|
||||
<< " in faction " << faction->mName;
|
||||
<< " in faction " << factionId;
|
||||
return "%";
|
||||
}
|
||||
return faction->mRanks[rank];
|
||||
|
Loading…
x
Reference in New Issue
Block a user