mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 11:53:53 +00:00
Fixes #1291: Faction rank saving issue
A value of 0 is the first rank, -1 means not a member
This commit is contained in:
parent
45d2a00717
commit
ef39b0f6ab
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ void MWMechanics::NpcStats::readState (const ESM::NpcStats& state)
|
|||
if (iter->second.mExpelled)
|
||||
mExpelled.insert (iter->first);
|
||||
|
||||
if (iter->second.mRank)
|
||||
if (iter->second.mRank >= 0)
|
||||
mFactionRank.insert (std::make_pair (iter->first, iter->second.mRank));
|
||||
|
||||
if (iter->second.mReputation)
|
||||
|
|
Loading…
Reference in a new issue