Fixes #1291: Faction rank saving issue

A value of 0 is the first rank, -1 means not a member
actorid
scrawl 11 years ago
parent 45d2a00717
commit ef39b0f6ab

@ -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…
Cancel
Save